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" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
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:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to