Java Policy File for development on local machine


/ Published in: Java
Save to your folder(s)



Copy this code and paste it in your HTML
  1. // filename: .java.policy
  2. // NOTE: filename starts with a period!!!
  3. // put this in your home folder ( on win this is env var USERPROFILE )
  4. grant codeBase "file:///-" { permission java.security.AllPermission "java.security.AllPermission.*"; };
  5. grant codeBase "http://localhost/-" { permission java.security.AllPermission "java.security.AllPermission.*"; };

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.