gagaliya
asked on
How to block access to certain file extension in Tomcat
Hi, if I have a test.txt file in the tomcat web directory and can be accessed via http://myserver.com/test.txt
Where and how do i change the tomcat config to block access to all files with *.txt extension, so when user hits the url http://myserver.com/test.txt they get an access denied or some kind of error.
Thank you.
Where and how do i change the tomcat config to block access to all files with *.txt extension, so when user hits the url http://myserver.com/test.txt they get an access denied or some kind of error.
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.