User Tools

Site Tools


robots:hako:marg

To be able to use the applet on the webserver (MARG) you need to append these lines of code to have the correct permissions:

the file that you need to edit is the java.policy. Located in your java folder in your drive.

  // Gives acces through ATOPAP
  grant codeBase "http://192.168.1.10/-" 
  {
      permission java.io.FilePermission "<<ALL FILES>>", "read,write";
      permission java.lang.RuntimePermission "*";
      permission java.security.SecurityPermission "*", "read";
      permission java.util.PropertyPermission "*", "read";
      permission java.net.SocketPermission "192.168.1.10:2000-2500","connect, accept, listen, resolve";
  }; 
  // Gives acces through internet
  grant codeBase "http://144.41.176.72/-" 
  {
      permission java.io.FilePermission "<<ALL FILES>>", "read,write";
      permission java.lang.RuntimePermission "*";
      permission java.security.SecurityPermission "*", "read";
      permission java.util.PropertyPermission "*", "read";
      permission java.net.SocketPermission "144.41.176.72/:2000-2500","connect, accept, listen, resolve";
  };
 
robots/hako/marg.txt · Last modified: 2013/11/06 13:25 by kim