...
Code Block | ||
---|---|---|
| ||
grant codeBase "file:/home/programpath/" { permission java.io.FilePermission "/tmp", "read, write"; }; |
The guideline ENVxxENV30-J. Create a secure sandbox using a Security Manager contains more information on using a security manager.
...
Code Block | ||
---|---|---|
| ||
// All files in /img/java can be read grant codeBase "file:/home/programpath/" { permission java.io.FilePermission "/img/java", "read"; }; |
The guideline ENVxxENV30-J. Create a secure sandbox using a Security Manager contains more information on using a security manager.
...