TOW (Trac On Windows) Blog

February 22, 2008

(Fixed) How to manage access control each user on SVN?

Filed under: User Guide — Tags: , , , , , , , , , , — yeoupooh @ 5:44 am

(Fixed: no requires svnserve.conf file. sorry)

By default, All TOW users have all privileges of SVN.

If you want to manage access control each user on SVN, try like this.

  1. Edit C:\TOW\Apache\conf\httpd.conf.
  2. Find <Location /svn> and change like below.

    <Location /svn>
    DAV svn
    SVNParentPath “C:/TOW/SvnRepo/Projects”

    # our access control policy
    AuthzSVNAccessFile “C:/TOW/SvnRepo/Projects/authz”

    # try anonymous access first, resort to real
    # authentication if necessary.
    Satisfy Any
    Require valid-user

    AuthType Basic
    AuthName “TOW:Subversion Authentication”
    AuthUserFile “C:/TOW/SvnRepo/Projects/trac.htpasswd”

  3. Create C:/TOW/SvnRepo/Projects/authz file and fill like below. (ex. test, test2 has already registered.)

    test = rw
    test2 = r
    * =

  4. Restart TOW.

You can find more details about authz settings in here.

Create a free website or blog at