Current Position:Home > Why I cannot read my file???

Why I cannot read my file???

Update:11-30Source: network consolidation
Advertisement
I write an applet to read a file in another directory...
But every time I run the applet, it gives me this exception..
Java.security.AccessControlException :access denied (java.io.FilePermission C:/product development/con/app.ini read)
Wat did I went wrong??

The Best Answer

Advertisement
Check out this page: Security Restrictions
http://java.sun.com/docs/books/tutorial/applet/practical/security.html