Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

-vic-

[java] Applet security?

This topic is 5586 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m really curious about this... Well, when an applet is loaded under a java enabled browser, it is not allowed to do some tasks, such as write to a file. And that''s because of a security manager, i suppose. *But*, the method System.setSecurityManager() is still there; so how does it manages to make sure that i won''t overload its security manager?? Thanks, Victor.

Share this post


Link to post
Share on other sites
Advertisement
You could always check the docs...

quote:

If there is a security manager already installed, this method first calls the security manager''s checkPermission method with a RuntimePermission("setSecurityManager") permission to ensure it''s ok to replace the existing security manager. This may result in throwing a SecurityException.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!