[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Retrieving a list of usernames for a repository

From: Christopher Ness <chris_at_nesser.org>
Date: 2005-08-25 02:52:31 CEST

On Wed, 2005-08-24 at 15:35 -0700, Zac Wolfe wrote:
> I’m working on a filesharing app that uses SVN on the backend and I
> need to implement per-user file-level permissions. Is there a command
> to retrieve a list of all valid users for a given repository (just the
> names, no passwords)?

Depends how you access the repository.

file://, or svn+ssh:// usually is dependent on /etc/shadow
and /etc/passwd The later of which is usually world readable.

svn:// uses a svnserve.conf file, you could filter out the users from

http[s]:// requires an htpasswd file of some type to authenticate
against which has user names as the first argument and then a hash of
their passwords. This is more secure if it isn't world readable
like /etc/shadow - but it might be.

See the book for more info, chapter 6 is all about servers.


PGP Public Key: http://www.nesser.org/pgp-key/
20:33:30 up 2:22, 2 users, load average: 0.06, 0.12, 0.07

Received on Thu Aug 25 02:52:57 2005

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.