I tried it out today. The details of Java Policy which controls what each program can and cannot do.
However there were a some grey areas which I thought I needed to jot down for further reference.
- It is best to put the policies in ${user.home}/.java.policy
- If 1 is not possible then the confusion lies as to where to put the policy
- You could put it in any file as long as you add it to the ${java.home}/lib/security/java.security file.
- The entry to be made is policy.url.3=file:/D:/JavaTest/mypolicy (windows)
- This works for applet viewer but not mozilla
- Java usually downloads the latest version of JRE and installs it. Mozilla uses the latest version so. For Mozilla it is not enough to change ${java.home}/lib/security/java.security file but the /lib/security/java.security of the latest version of JRE.