tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From removeps-c...@yahoo.com
Subject Re: Unable to access images stored in webapps/<myapp>/WEB-INF/images ?
Date Tue, 24 Jan 2012 01:41:55 GMT
Tomcat doesn't let you access anything in the META-INF or WEB-INF folders.  These folders have
config for your system, and may contain passwords (such as META-INF/context.xml which has
passwords for the datasources).  Besides, people can get into WEB-INF/lib and WEB-INF/classes
and web.xml and see your implementation details.

--- On Mon, 1/23/12, Alastair Baldwin <alastairgbaldwin@yahoo.co.uk> wrote:

> From: Alastair Baldwin <alastairgbaldwin@yahoo.co.uk>
> Subject: Unable to access images stored in webapps/<myapp>/WEB-INF/images ?
> To: "users@tomcat.apache.org" <users@tomcat.apache.org>
> Date: Monday, January 23, 2012, 5:21 PM
> Dear Users
> 
> Why am I able to access images stored here:
> 
> http://localhost:8080/imageUploader/1234.jpg
> 
> 
> but not here:
> 
> http://localhost:8080/imageUploader/WEB-INF/images/1234.jpg
> 
> 
> File permissions are the same
> 
> Any ideas?
> 
> Thanks
> 
> Alastair
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message