Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Interesting security issue

David Treves
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!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic