Wednesday, August 29, 2007

Add security policy in tomcat5 on ubuntu

open the file
and add folowing lines to that file here the container directory is "test" replace your container directory with "test"

grant codeBase "file:${catalina.home}/webapps/test/WEB-INF/classes/-" {

with this entry all permision will be set to the classes in test/WEB-INF/classes/ directory; if you whish to apply specialized permisions you can customize
"permission;" line

permission "localhost:9001", "connect"

for socket permision

No comments:

Post a Comment