How do I change the security context for an applet when running it with applet viewer?
Created Sep 25, 2001
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