Hi all, 


I've been trying to secure a folder so that BASIC authentication occurs 
whenever someone tries to access a .txt under it, configuring both 
web.xml and tomcat-users.xml. 



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. 



Is there a way to accomplish that? 



Thanks, 



François

Reply via email to