You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BNArun <ar...@gmail.com> on 2007/08/17 11:46:24 UTC

How to restrict access to particular files in Tomcat 4.1?

Could any one tell me the way of restricting access to particular files in
Tomcat 4.1?
-- 
View this message in context: http://www.nabble.com/How-to-restrict-access-to-particular-files-in-Tomcat-4.1--tf4284732.html#a12196842
Sent from the Tomcat - Dev mailing list archive at Nabble.com.

Re: How to restrict access to particular files in Tomcat 4.1?

Posted by BNArun <ar...@gmail.com>.

In my Tomcat 4.1 Server, there is a file named connection.ini and it
contains all the details about database connection. Users can access it by
typing http://URL:8080/connection.ini. So it should be restricted and only
users should not get access to that file.

Finally thank you for your kind reply.
-- 
View this message in context: http://www.nabble.com/How-to-restrict-access-to-particular-files-in-Tomcat-4.1--tf4284732.html#a12198234
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: How to restrict access to particular files in Tomcat 4.1?

Posted by Tim Funk <fu...@joedog.org>.
Please use the user list for this topic. (With more details describing 
your situation)

In the meantime look at
- Servlet Filters
- Security Declarations in web.xml (<security-constraint>)

-Tim

BNArun wrote:
> Could any one tell me the way of restricting access to particular files in
> Tomcat 4.1?


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org