grant signedBy "school",  codeBase "file:/home/tomp/cpf/cpe-1.0/" {
  permission java.awt.AWTPermission "topLevelWindow";
  permission java.awt.AWTPermission "eventQueue";
  permission java.net.SocketPermission "machine.dai.ed.ac.uk:6789", "connect";
  permission java.net.SocketPermission "machine.dai.ed.ac.uk:6789", "accept";
  permission java.io.FilePermission "<<ALL FILES>>", 
                      "read, write, delete, execute", signedBy "school";
  permission java.util.PropertyPermission 
                      "user.home", "read", signedBy "school";
  permission java.util.PropertyPermission 
                      "user.name", "read", signedBy "school";
  permission java.awt.AWTPermission "showWindowWithoutWarningBanner";
  permission java.net.SocketPermission 
    "www.dai.ed.ac.uk", "accept, connect, listen, resolve", signedBy "school";
  permission java.lang.RuntimePermission "exitVM";
};

grant signedBy "school",  codeBase "file:/home/tomp/cpf/cpe-1.0/" {
  permission java.awt.AWTPermission "topLevelWindow";
  permission java.awt.AWTPermission "eventQueue";
  permission java.net.SocketPermission "machine.dai.ed.ac.uk:6789", "connect";
  permission java.net.SocketPermission "machine.dai.ed.ac.uk:6789", "accept";
  permission java.io.FilePermission "<<ALL FILES>>", 
                      "read, write, delete, execute", signedBy "school";
  permission java.util.PropertyPermission 
                      "user.home", "read", signedBy "school";
  permission java.util.PropertyPermission 
                      "user.name", "read", signedBy "school";
  permission java.awt.AWTPermission "showWindowWithoutWarningBanner";
  permission java.net.SocketPermission 
    "www.dai.ed.ac.uk", "accept, connect, listen, resolve", signedBy "school";
  permission java.lang.RuntimePermission "exitVM";
};
