tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Ochani" <>
Subject Re: Preventing File Access
Date Wed, 10 Sep 2008 16:37:18 GMT
Send reply to:  	Tomcat Users List <>
From:           	Stephen Caine <>
To:             	Tomcat Users List <>
Subject:        	Preventing File Access
Date sent:      	Tue, 09 Sep 2008 19:35:31 -0400

> All,
> Can someone point me to where I can read how to prevent/redirect 
> access to a particular file in the Tomcat/webapp context.  
> Specifically, all of my directories have the OS X DS_Store file.  I 
> would like to redirect users to an error page when this file is 
> directly accessed.
> Thank you,

In the future it would help if you mention what version of Tomcat you are using.

You will have to use a security constraint,

read these two threads for examples.

-Steve O.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message