How do I change the security context for an applet when running it with applet viewer?
Created May 7, 2012
Eugene Kuleshov Use a policy file with an entry specifying full privileges, and a codeBase specifying your entire local drive. For example:
grant codeBase "file:/C:/-" { permission java.security.AllPermission; };Then start appletviewer:
appletviewer -J-Djava.security.policy=launch.policy launch.html