Sign in to follow this  
Sparhawk42

[java] Applet Security Problem

Recommended Posts

Hello, I want to run my applet from a browser, but as soon as I try to access a file, I get an Exception: AccessControlException(Java.io.FilePermission ) All works fine, when I use the AppletViewer. What have I to do, to get my applet also running in a browser? Thanks a lot.

Share this post


Link to post
Share on other sites
You can only access files from applets if you sign it. You are not allowed to do anything that might be considered a security risk from an applet.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this