Dear all

How do i restrict users from entering the image/text files path directly in
the browser.
my web application has restrictions to jsp/servlet pages, wherein we ask for
username and password which will chk and db and then authenticate.
but when an image or text file in a particular directory is accessed thru
the web i have to restrict. how do i do that.
 
to be more clear
 
if i access
https://www.somename.com/index.jsp
it will ask for login information and only then other jsp pages can be
accessed.
 
but
https://www.somename.com/images/logo.jpg
if i type directly this image will appear, but i need to restrict, how to do
that in Tomcat.

PraDz
-- 
View this message in context: 
http://www.nabble.com/Tomcat-Security-tf2518433.html#a7024357
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to