|
HTTP access to your repositories is defined using a <Location>
section in your httpd.conf.
<Location /myproject>
DAV svn
SVNPath /home/myself/myrepos/myproject
AuthType Basic
AuthName "My project"
AuthUserFile /home/myself/private/myproject.pw
Order deny,allow
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
</Location>
This entry would grant read-only access to everyone and write
access to every user AuthUserFile. You can use the
htpasswd
utility to create or update this file, as described
here.
The next entry grants read/write access to users in the
AuthUserFile, and no access to anyone else.
<Location /myproject>
DAV svn
SVNPath /home/myself/myrepos/myproject
AuthType Basic
AuthName "My project"
AuthUserFile /home/myself/private/myproject.pw
Order deny,allow
Require valid-user
</Location>
The previous examples all define access on a per-repository basis. It is
also possible to grant access from specific users to specific areas of
the repository, using fine-grained permissions.
|