You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ian silvester <ia...@is2.co.uk> on 2001/12/21 15:38:36 UTC

Re: protecting a non-jsp file from accessing

There is help on this in the Tomcat documentation. Can't remember where off
the top of my head but have a dig around in the 'docs' dir. If not, a quick
web search will certainly turn up the file.

ian


----- Original Message -----
From: "Venkat Dosapati" <ve...@translogicsys.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, December 21, 2001 6:47 AM
Subject: protecting a non-jsp file from accessing


Hi,
I have been using Tomcat 3.2.1 with Apache for my application deployment.
In my application I have a database configuration file called db.cfg.
The file is placed in document root directory. Now my problem is that the
file can be accessed through the browser by using
http://<VirtualHostName>/db.cfg.
Is there anyway to block the file from users. Any ideas will be appreciated.

Thanx in advance.

----
Venkat



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>