I cannot offer C #, but I doubt that the implementation language has any effect on things. All you have to do is read / write to a text file. Changes to configuration files occur immediately (unlike Apache). It is not very difficult.
If you are in the conf folder in your repository (and not in your working copy), you will find three files:
svnserve.conf manages the repo authentication file (passwd), which is disabled by default. To activate account-based authentication, you simply uncomment the line in .conf that looks like this:
password-db = passwd
You also probably want to tweak:
anon-access = none auth-access = write
As a comment in the notes to the configuration file, you can specify the path to the external file. This may be what you mean by a βcleanβ way to configure files. Just put your passwd file outside of the repo and modify the repo svnserve.conf to point to it explicitly. Using this method, you can control access to multiple repositories from a single passwd file. For example:
password-db = /home/user/svn-users.conf
The password file is as follows:
[users] user1 = user1pass user2 = user2pass
The notes in the default files should be pretty clear on how to get the information and run it, but if you want more information, the TortoiseSVN manual has an excellent server setup guide. (There is also an SVN Redbean book , but I found that the turtle is more understandable.)
cbednarski
source share