This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Applets and the fly likes Security problems when calling an applet from javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Applets
Bookmark "Security problems when calling an applet from javascript" Watch "Security problems when calling an applet from javascript" New topic
Author

Security problems when calling an applet from javascript

Dan Serfaty
Greenhorn

Joined: Jan 10, 2002
Posts: 6
Hi all,
as long as I'm here, I might as well bother you guys with all my problems.. ;o)
I am using Netscape 6.2 and the java plug-in 1.3.
I have an signed applet that performs some stuff that needs security privileges. Let's call the stuff: runSecurityTest().
When I run the applet and runSecurityTest() in one "motion", I have no problems, but when I initialize the applet and then try to call the runSecurityTest() from Javascript, I have a security exception.
I understand that this used to be a problem in earlier versions of Netscape and to work-around it, one needed to run an applet in one flow before it was possible to call any other applet from the same jar file from javascript, without running into security exceptions.
Does any one know if this has changed, or anything that would help me solve this problem.
Thanks in advance for any help.
- Dan Serfaty
Dan Serfaty
Greenhorn

Joined: Jan 10, 2002
Posts: 6
Hi all,
I actually found a bug logged on Mozilla.org. Here's the info:
http://bugzilla.mozilla.org/show_bug.cgi?id=109067
- Dan
 
GeeCON Prague 2014
 
subject: Security problems when calling an applet from javascript