File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Security problems when calling an applet from javascript
 
Similar Threads
Applet error online, works offline
Communication between JavaScript and JApplet
Redirect from servlet to html (or php) web?
applet throws NoClassDefFoundError under Opera
JApplet Browser security issues