Interesting security issue
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   David_Treves
Posted On:   Thursday, November 29, 2001 07:51 AM

Hi all, I am working on a web application, the HTML page that the user sees contains two frames upper frame (containing the applet) and the lower frame. When the user clicks some button in the applet I want the applet to get the site address that the lower frame displays. This raises a security issue. In order to avoid the problem I tried to invoke JavaScript function to do it, but I found that JavaScript is restricted to access the location of another frame (unless both frames are under the same domain name, again, security issues). How do you think I can over come that restriction? Will a signed applet do the trick? If so, how do I do it from a signed applet?    More>>

Hi all,



I am working on a web application, the HTML page that the user sees contains two frames upper frame (containing the applet) and the lower frame.



When the user clicks some button in the applet I want the applet to get the site address that the lower frame displays. This raises a security issue.



In order to avoid the problem I tried to invoke JavaScript function to do it, but I found that JavaScript is restricted to access the location of another frame (unless both frames are under the same domain name, again, security issues).



How do you think I can over come that restriction? Will a signed applet do the trick? If so, how do I do it from a signed applet?



Can a signed applet access the instance of the window containing it? If so, how?





Thanks for your time!
David.

   <<Less
About | Sitemap | Contact