tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gl...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/etc tomcat.policy
Date Thu, 28 Dec 2000 22:11:01 GMT
glenn       00/12/28 14:11:01

  Modified:    src/etc  Tag: tomcat_32 tomcat.policy
  Log:
  Updated for default permissions
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.5.2.1   +7 -6      jakarta-tomcat/src/etc/tomcat.policy
  
  Index: tomcat.policy
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/etc/tomcat.policy,v
  retrieving revision 1.5
  retrieving revision 1.5.2.1
  diff -u -r1.5 -r1.5.2.1
  --- tomcat.policy	2000/06/15 18:49:52	1.5
  +++ tomcat.policy	2000/12/28 22:11:00	1.5.2.1
  @@ -1,4 +1,4 @@
  -// Additional permissions for tomcat.
  +// Permissions for tomcat.
   
   // javac
   grant codeBase "file:${java.home}/../lib/-" {
  @@ -14,11 +14,12 @@
   	permission java.security.AllPermission;
   };
   
  -// Example webapp policy 
  -// By default we grant read access on webapp dir and
  -// write in workdir
  +// Example webapp policy
  +// By default Tomcat grants read access on webapp dir and read of the
  +// line.separator, path.separator, and file.separator PropertyPermissions. 
  +// Any permissions you grant here are in addition to the default.
   grant codeBase "file:${tomcat.home}/webapps/examples" {
  -      permission java.net.SocketPermission "localhost:1024-", "listen";
  -      permission java.util.PropertyPermission "*", "read";
  +      // Allow the example web application to read all java properties
  +      permission java.util.ProperyPermission "*", "read";
   };
   
  
  
  

Mime
View raw message