You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Robert Murphy <ab...@gmail.com> on 2009/08/28 00:13:33 UTC

Serving outside of webapps

Hello all,

I have a folder containing sensitive data under webapps which is currently
being mapped by the application to serve on the web. However, I would like
the data folder to be outside of webapps so noone can access the files by
typing in the URL. Can TomCat serve pages outside of the webapps for eg: on
C:/data?

Thanks
Rob

Re: Serving outside of webapps

Posted by Hassan Schroeder <ha...@gmail.com>.
On Thu, Aug 27, 2009 at 3:13 PM, Robert Murphy<ab...@gmail.com> wrote:

> I have a folder containing sensitive data under webapps which is currently
> being mapped by the application to serve on the web. However, I would like
> the data folder to be outside of webapps so noone can access the files by
> typing in the URL.

Something like that belongs under WEB-INF.

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan

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