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.


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at

%d bloggers like this: