• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Interesting security issue

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic