Search code examples
apache.htaccesstomcattomcat6

Apach Tomcat - Disable file processing outside document root directory


Is there a setting in Apache Tomcat to restrict file access outside the document root directory? Apache httpd analogue is AllowOverride None


Solution

  • I believe SecurityManager is what I need: https://tomcat.apache.org/tomcat-6.0-doc/security-manager-howto.html