To run Tomcat with a security manager, you must add your own policy lines to the
catalina.policy filelike when you build a SecurityManager.
The catalina.policy file can be found here:
<TOMCAT INSTALL>\Apache Group\Tomcat 4.1\conf\
After you modify this file, run Tomcat from the comand prompt like this:
<TOMCAT INTALL>\Apache Group\Tomcat 4.1\bin>catalina start -security
Please note that, if you run Tomcat without the
-security option, your modifications will have no effect.