The filename begins with a .
Use the policytool program to edit the .java.policy file.
Here is a sample from my .java.policy file:
grant codeBase "http://127.0.0.1:8080/Testing/-" {
permission java.util.PropertyPermission "*", "read, write";
permission java.io.FilePermission "<<ALL FILES>>", "read";
};
located at:
C:\Documents and Settings\Norm\.java.policy
The following would open the gates for everthing:
grant{
permission java.security.AllPermission;
};
And another one used for testing:
grant {
permission java.net.SocketPermission "www.exdfrds.com", "connect, resolve";
};