RE: svn and scripted auth
From: Harvey, Edward <Edward.Harvey_at_patni.com>
Date: 2007-11-14 17:34:17 CET
I think you're discussing this in the right place.
If you're new to this, let me make this really simple...
The most powerful is apache (http or https). Because it has the ability to control permissions on a per user / per file / per directory basis, and it has the ability to support secure encrypted traffic, passwords, and authentication against LDAP for centralized password management. However, apache is also the most difficult to set up, because there are *so many* choices available to you.
Svnserve (svn://) is very easy to setup, and very fast for a local area network. It does not provide per-file permissions, and does not (as far as I know) have any way to authenticate passwords against ldap or anything like that. The passwd file is a plaintext file that can only be edited by root (or whoever root gives permission to). And although the password is never sent plain-text across the network, it uses weak encryption. But svnserve is a very good protocol despite these shortcomings. It does a very good job of keeping the repository free from corruption, and it's very fast, and easy to set up. ;-)
Svn+ssh, although it's supposed to be good, somehow frequently gave me corruption problems so I don't recommend it. But perhaps there was just a misconfiguration in my environment that should have been fixed. I fixed it by locking down the repo, blocking all users from reaching it, and forcing everyone to use svn:// instead.
File:// should not be used in most situations. It's inviting to corruption, if concurrent users are read/writing things at the same time. I only recommend this if you need a personal repo, or a temporary sandbox to work with.
Hope this helps.
> -----Original Message-----
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.