tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fran├žois <>
Subject How to secure a folder?
Date Wed, 01 Feb 2006 00:31:43 GMT
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? 



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message