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

Restricting access to a subdirectory of a repository with mod_authz_svn

From: James R. Marcus <jmarcus_at_edhance.com>
Date: Mon, 26 Oct 2009 22:05:03 -0400

Hi,
I'm not sure if I'm totally off here but is it possible to restrict
access to a subdirectory in a repository? I have started with this:

cat /etc/httpd/conf.d/subversion.conf

<Location /svn>
    DAV svn
    SVNParentPath /usr/local/svnroot
    AuthzSVNAccessFile /etc/httpd/svn/svn-acl-conf
    SVNListParentPath on
    # Limit write permission to list of valid users.
    <LimitExcept GET PROPFIND OPTIONS REPORT>
       SSLRequireSSL
       AuthType Basic
       AuthName "My Realm"
       AuthUserFile /etc/httpd/svn/svn-auth-conf
       Require valid-user
    </LimitExcept>
</Location>

<Location /svn/code/Secure>
    <LimitExcept GET PROPFIND OPTIONS REPORT>
       SSLRequireSSL
       AuthType Basic
       AuthName "My Realm"
       AuthUserFile /etc/httpd/svn/secure-svn-auth-conf
       Require valid-user
    </LimitExcept>
</Location>

In the SVN ACL file I haven't found any information on how to add a
deny directive.

thanks,
James

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2411569

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-27 03:19:02 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.