iceboxi
iceboxi

Reputation: 49

How to disable anonymous checkout with apache svn server

I build a SVN server with apache. It work fine.

I don't want to anonymous could checkout, so I set httpd like

<location /svn>
    DAV svn
    SVNListParentPath Off
    SVNParentPath C:/SVN/
    Satisfy All
    AuthType Basic
    AuthName "Subversion Dir"
    AuthUserFile "C:\Program Files (x86)\Subversion\svn-auth-conf.txt"
    AuthzSVNAccessFile "C:\Program Files (x86)\Subversion\svn-acl-conf.txt"
    Require valid-user
</location>

but I still can checkout by commnd line like

svn co http://repos test 

without any username and password

How can I do to solve this issue?

Upvotes: 1

Views: 2125

Answers (1)

Lazy Badger
Lazy Badger

Reputation: 97282

  1. You may have stored credentials for this URL
  2. Remove Satisfy - read "Blanket access control" in SVN Book with sample

    AuthName ... AuthType ... AuthUserFile ... Require valid-user

Upvotes: 1

Related Questions