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
Register / Login
JavaRanch » Java Forums » Professional Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "Applet Security Manager" Watch "Applet Security Manager" New topic
Author

Applet Security Manager

Joe O'Toole
Ranch Hand

Joined: Mar 02, 2009
Posts: 50
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: 59
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: 50
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
Greenhorn

Joined: Oct 10, 2011
Posts: 28
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
 
 
subject: Applet Security Manager
 
Threads others viewed
Policy File
Two questions about applet security
saving a file on local PC
applet security
Reflection Mechansim to access private data.
IntelliJ Java IDE