> From: tomcat user [mailto:[EMAIL PROTECTED] > Subject: securing directory > > I would like to know if anybody can tell me how to restrict > web access to my web app's base directory and its sub directories.
Read the servlet spec. Anything under WEB-INF is automatically invisible to everything but the webapp. To access resources, don't open them via the file system, use the mechanism described here: http://wiki.apache.org/tomcat/HowTo#head-45c3314139cb900ddd43dde2ff67153 2e6e844bc - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]