tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: How to secure a folder?
Date Wed, 01 Feb 2006 20:54:05 GMT
Fran├žois wrote:
> I've successfully implemented this type of authentication for jsp files 
> (using <url-pattern>/path/to/my/folder/*</url-pattern>), but any other 
> type of ressources, and in particular .txt type of files, are not 
> protected at all. 



Works for me. I added /test/test.txt and was prompted for my credentials.

Note you will only get promted for a password once. The browser then
caches it and sends it with all subsequent requests to that host until
upi close the browser.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message