Java 1.2 security model can be used to overcome security
restrictions in a controlled manner
keystore "file:/home/jan/.keystore", "JKS";
// Permissions for downloaded classes
grant signedBy "Jan" {
permission java.net.SocketPermission
"137.92.11.117:1024-", "connect,accept,
resolve";
};
// Permissions for the Jini classes
grant codeBase "file:/home/jan/tmpdir/jini1_1/lib/-"
signedBy "Jini" {
// multicast request address
permission java.net.SocketPermission
"224.0.1.85", "connect,accept";
// multicast announcement address
permission java.net.SocketPermission
"224.0.1.84", "connect,accept";
};