I got the following error while i was trying to read a file and store it's data into my applet(Java) i think that the main error is this :
java.security.AccessControlException: access denied (
"java.io.FilePermission" "MyFile.txt" "read")
And I have no idea how to resolve it, thought it might something to add to my java.policy.applet
file which include:
grant {
permission java.security.AllPermission;
};
I also tried to google it but nothing works.