You can override the default security policy file used by the
SecurityManager
:
1) Create a text file (eg.
applet.policy
)
2) Grant all permissions to the applet by adding this to the file:
grant {
permission java.security.AllPermission;
};
3) Run the applet with
-J-Djava.security.policy=applet.policy