Re: It this possible: disabling directory listings?
Consider yourself lucky that you get the browser list page, as I have yet to
get that to work on my Apache 2.2 on FC6.
But really, what is wrong with it?
Its not buggy and as the other guy said, no scripted pages will be executed,
so theres nothing to worry about.
On 1/18/07, Pekka Niiranen <firstname.lastname@example.org> wrote:
> Matt Sickler wrote:
> > the best answer is probably:
> > You cant. At least not reliably.
> > Security through obscurity = no security.
> Security through obscurity = no security?
> True. But more clients allowed => more documentation
> needed (browse settings) + more buggy software to worry about.
> > Besides, anyone can use the svn client to ls the directory anyway.
> > On 1/17/07, *Andy Levy* <email@example.com
> > <mailto:firstname.lastname@example.org>> wrote:
> > On 1/17/07, Pekka Niiranen <email@example.com
> > <mailto:firstname.lastname@example.org>> wrote:
> > > Hi,
> > >
> > > I am using Apache and SSL with subversion database.
> > > Users are asked to provide username + password both
> > > when accessing repository thru DOS command line (svn update)
> > > and when pointing their browsers to
> > > https://<server name>/<subversion directory>.
> > >
> > > But how can I disable directory listings thru WWW -page?
> > >
> > > I would like the users to be able to access files ONLY
> > > thru commands from DOS prompt.
> > Write a rule in Apache denying access to User-Agents which match a
> > pattern that catches "most" web browsers? Or, only allowing access
> > the User-Agent reported by Subversion clients?
> > My command-line client reports a User-Agent of: SVN/1.4.0 (r21228)
> > neon/0.26.1
> > TortoiseSVN reports SVN/1.4.2 (r22196) neon/0.26.2
> > Can't speak for other clients, but I think if you only allow
> > User-Agents starting with SVN/ you'll lock out web browsers. Until
> > someone figures out they can change their UA in their browser,
> > To unsubscribe, e-mail: email@example.com
> > <mailto:firstname.lastname@example.org>
> > For additional commands, e-mail: email@example.com
> > <mailto:firstname.lastname@example.org>
Received on Fri Jan 19 01:29:00 2007
This is an archived mail posted to the Subversion Users