home *** CD-ROM | disk | FTP | other *** search
/ Internet News 1999 October / INEWS_10_CD.ISO / pc / jdk / jdk1.2.2 / docs / guide / rmi / examples / stock / security.policy < prev    next >
Encoding:
Text File  |  1999-09-19  |  230 b   |  12 lines

  1.  
  2. /** 
  3.  * A minimal set of permissions needed for the stock server to run.
  4.  */
  5.  
  6. grant {
  7.   
  8.     // Allow the server to connect to the applet's callback object
  9.     //
  10.     permission java.net.SocketPermission "*:1024-", "connect";
  11. };
  12.