[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Deny read access to a path using authz

From: <kmradke_at_rockwellcollins.com>
Date: Mon, 4 Feb 2013 14:11:52 -0600

André Hänsel <andre_at_webkr.de> wrote on 02/04/2013 01:08:59 PM:
> I am trying to deny a user access to a certain path in an SVN
repository.

[snip]

> This is my current authz-test file, which is unable to stop user "andre"
> from accessing the directory "test2" and its content:
>
> [/]
> * = rw

If you don't need anonymous access, try:
        $authenticated = rw

> [/test2]
> andre =
> [/test2/]
> andre =
> [test/test2]
> andre =
> [/test/test2]
> andre =
> [test/test2/]
> andre =
> [/test/test2/]
> andre =
> [test:/test/test2]
> andre =
> [test/:/test2]
> andre =
> [test:/test2/]
> andre =
> [test/:/test2/]
> andre =
> [test:test2]
> andre =
> [test/:test2]
> andre =
> [test:test2/]
> andre =
> [test/:test2/]
> andre =
>
> When I comment the "* = rw" part, access to the repository is
immediately
> denied, so at least the file isn't being ignored completely. I am using
> Subversion 1.7.8.
>
> Regards,
> André
>
Received on 2013-02-04 21:12:29 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.