Thanks, I tried this but it doesn't seem to work, don't know what I'm doing wrong?
Andrea Powles Jeanfrancois Arcand <[EMAIL PROTECTED]> wrote: > > > Andrea Powles wrote: > > >Hi Tomcatusers, > > > >I wish for one of my web apps in Tomcat to execute another program on my computer > >using the exec method. I know that I can’t currently do this due to the security > >restrictions. > > > >I have tried changing the Catalina policy file but I’m unsure of exactly what to do > >so it didn’t work. Can someone please advise me of exactly what I need to add or > >modify in order for my web app to have all permissions. > > > >I am aware of the security risks but at this stage it is more important that I get > >my application to work. My web app runs as a servlet and is in a web app directory > >calledruddis. > > > > > try the following in catalina.policy: > > > // These permissions apply only to yourapplication > > grant codeBase "file:${catalina.home}/webapps/<<your webapp>>/-"{ > > permissionjava.security.AllPermission; > >}; > > > -- Jeanfrancois > > >Thanks in advance > >AndreaPowles > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail:[EMAIL PROTECTED] > >For additional commands, e-mail:[EMAIL PROTECTED] > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]