0
votes

(sorry. my english skill is poor....)

today, i make a new SVN repository. here is my repository settings.

  1. svnserve.conf

    [general]
    anon-access = none
    auth-access = write
    password-db = passwd
    
  2. passwd

    [users]
    myusers = mypassword
    
  3. restart svnserve

but, anon-users can access my repository. so, add a authz.

  1. add authz infomation into svnserve.conf

    [general]
    anon-access = none
    auth-access = write
    password-db = passwd
    authz-db = authz
    
  2. authz

    [groups]
    usergroup = myusers
    [/]
    @usergroup = rw
    
  3. restart svnserve

but, anon-users still access my repo. how can i block them? my setting is something wrong??

1
what URL do you use to access the repository?bahrep
@bahrep svn://192.168.0.73/repositories this is local access only. but, i want to control access each users.Noblesse Idenkate

1 Answers

1
votes
  1. Read about Path-based autorization in SVN Book
  2. Use good, brain-powered rules in authz-file. Starting point
[/]
$anonymous =
$authenticated = rw

Group with single member is stupid idea, single SVN-user for for all commiterrs is stupid idea, ignoring tokens in authz-file is bad idea