logo       

Re: Resin 3.0.6 - directory traversable on Unix: msg#00007

text.xml.resin.user

Subject: Re: Resin 3.0.6 - directory traversable on Unix

Vince Law <vlaw@xxxxxxx> writes:

> I have used the same configuration for both Window and Unix to run
> Resin 3.0.6, but on Unix the directory is traversable (meaning it lets
> the user to list all the files in a directory), whereas on Window it
> isn't. I wonder if there is a way that I can make the Unix to
> disallow directory traversing.

I think this:

<web-app id='/foo' ...>
...
<directory-servlet>none</directory-servlet>
...
</web-app>

will work.

--

joe



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise