Hi, I am new to Tomcat server. I have installed Tomcat 6 and deployed a web application. This application has to decrypt some files and store in a temp folder. I have created a folder with name "temp' in WEB-INF folder of my applciation. But When I am running my application, at the time of decryption, I am getting "Access Denied" exception. Through Tomcat security features, I came to know that we need to grant the permission in catalina.policy in conf folder. Below is the line I have added in it. But still I am getting the same exception.
grant codeBase "http://localhost:8080/lanwan/-" { permission java.io.FilePermission "C:\\Program Files\\Apache Software Foundation\\Tomcat 6.0\\webapps\\lanwan\\WEB-INF\\docs\\temp\\-", "read,write,delete"; } Please help me how to configure this security settings. Thanks in advance, Ramesh