Policy File: Use policytool to create or edit an existing policy file
c:\jdk\policytool -file .policy keystore ".keystore"; grant signedBy "yourName" { permission java.io.FilePermission "${user.dir}/-", "read"; }; grant codeBase "http://someserver/myjar.jar" { permission java.util.PropertyPermission "file.encoding", "read"; }