...
SEC31-EX1: It may be necessary to grant AllPermission
to trusted library code so that callbacks will work. For example, it is a common practice to grant AllPermission
to the optional Java system code packages:
Code Block |
---|
// Standard extensions get all permissions by default grant codeBase "file:${{java.ext.dirs}}/*" { permission java.security.AllPermission; }; |
...