Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bgColor#ccccff
grant codeBase "file:/home/programpath/" {
  permission java.io.FilePermission "/tmp", "read, write";
};

The guideline ENV30ENV02-J. Create a secure sandbox using a Security Manager contains more information on using a security manager.

...

Code Block
bgColor#ccccff
// All files in /img/java can be read
grant codeBase "file:/home/programpath/" {
  permission java.io.FilePermission "/img/java", "read";
};

The guideline ENV30ENV02-J. Create a secure sandbox using a Security Manager contains more information on using a security manager.

...