Move it to the WEB-INF directory, which cannot be access by the browser by
servlet 2.2 specs (preferred) or move to the file to a location that's in
the classpath so the tomcat classloaded can find it.

Wouter

-----Original Message-----
From: Behrang Saeedzadeh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 13 December, 2001 22:57
To: [EMAIL PROTECTED]
Subject: Restricting access to files


Hi Friends,

I have a file named site.properties in the root of my web application that
contains some information about the site.

    I want my file be unaccessible to the users, but whenever I point to it
in my browser's address bar, my browser opens it and shows its contents. How
can I make this file unaccessible to the users?

Thanks in advance,
Behrang S.


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to