Re: Portlets with JavaScript

Eric Dalquist <[email protected]>
Newsgroups gmane.comp.jakarta.pluto.user
Organization DoIT
Message-ID <[email protected]>
There isn't any way that I know of. I'd assume you would need some sort 
of browser support to sandbox different sections of one page from each 
other.

The bigger questions is why are you running malicious portlets in your 
portal? Or do you allow arbitrary users to publish custom code to be run?

-Eric

Kevin Irmscher wrote:
> Hi,
>
> Since it is possible to use JavaScript in portlets, the scripts of
> various portlets on one portal page can interfere with each other. The
> accidental clash of equal method or variable identifier is prevented
> by using namespaces for each declaration. What about malicious
> JavaScript code contained in a portlet. This portlet, for example, can
> retrieve information from other portlets or capture keystrokes and
> send it to another server.
>
> Is it possible to prevent malicious portlets that use JavaScript from
> accessing other portlets on the same page? Of course I could turn of
> JavaScript in the browser but does the portlet container or other
> portal applications provide any solutions to this security issue?
>
> Regards,
> Kevin
smime.p7s (application/x-pkcs7-signature, 3.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.