// Taken from Core Web Programming from // Prentice Hall and Sun Microsystems Press, // http://www.corewebprogramming.com/. // © 2001 Marty Hall and Larry Brown; // may be freely used or adapted. grant { // rmihost - RMI registry and the server // webhost - HTTP server for stub classes permission java.net.SocketPermission "rmihost:1024-65535", "connect"; permission java.net.SocketPermission "webhost:80", "connect"; };