aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Applet Security Manager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Applet Security Manager" Watch "Applet Security Manager" New topic
Author

Applet Security Manager

Joe O'Toole
Ranch Hand

Joined: Mar 02, 2009
Posts: 51
Hi

If I run an unsigned applet from the command prompt, will it use the same security manager as an unsigned applet downloaded from the internet?

Thanks
Joe
Andrew Thompson
Ranch Hand

Joined: Aug 05, 2010
Posts: 77
    
    5
Sun's appletviewer used to launch applets without a security manager, same as many IDEs do currently when launching an applet (using applet viewer). But the applet viewer built into the Oracle Java 6 SDK when launched from the command line, will sand-box applets.


Andrew Thompson
http://pscode.org/
Joe O'Toole
Ranch Hand

Joined: Mar 02, 2009
Posts: 51
Thanks Andrew.

So in terms of the SCEA 5 exam, an unsigned applet loaded from the command prompt is NOT subject to the same restrictions as an unsigned applet loaded over the network?

Thanks
Joe

Sunderam Goplalan
Ranch Hand

Joined: Oct 10, 2011
Posts: 75
I believe Andrew says that applets launched using the Java 6 Applet viewer WILL be subjected to the same restrictions as do applets loaded from over the network.


SCJP 5.0 , SCEA Java EE 5, TOGAF Certified
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Applet Security Manager