• Post Reply Bookmark Topic Watch Topic
  • New Topic

Interesting security issue

 
David Treves
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!