Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet Security Manager

 
Joe O'Toole
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 77
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Joe O'Toole
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!