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

Re: Apache/mod_authz_svn configuration for anonymous repository browsing

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-08-25 23:49:26 CEST

Hello Seth,

Hey ! Thanks for the info. Will try it out.

Bye !
François

On Mon, 25 Aug 2003 09:50:50 -0700, "Seth Falcon" <sfalcon@fhcrc.org>
said:
> > > Alternative to waiting: export the repository twice (two location
> > > blocks).
> > > Once with mod_authz_svn set up, and once with:
> > >
> > > <LimitExcept OPTIONS GET PROPFIND REPORT>
> > > Deny from All
> > > </LimitExcept>
> > >
> > >
> > > Sander
>
> On Sat, Aug 23, 2003 at 04:17:27PM -0400, Francois Beausoleil wrote:
> > Thanks,
> >
> > That would not work though. I want some parts of it protected and others
> > publicly available.
> >
>
> Note that the apache basic auth allows you to have fairly fine grained
> access control by using multiple <LocationMatch> sections in which you
> can define different Limit/LimitExcept blocks. I've used this to have
> different subdirs in the repository write-able by different users but
> readable by everyone.
>
> For example, the following should allow anonymous read access to the
> entire repository except for subdir 'privateDir'. Only members of group
> svn_committers can make changes and only members of group topsecret can
> do anything to privateDir:
>
> <Location /svn/repos>
> DAV svn
> SVNPath /path/to/repos
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile /path/to/passwd
> AuthGroupFile /path/to/group
> <LimitExcept GET PROPFIND OPTIONS REPORT>
> Require group svn_committers
> </LimitExcept>
> </Location>
> <LocationMatch "^/svn/repos/privateDir">
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile /path/to/passwd
> AuthGroupFile /path/to/group
> <LimitExcept GET PROPFIND OPTIONS REPORT>
> Require group topsecret
> </LimitExcept>
> <Limit GET PROPFIND OPTIONS REPORT>
> Require group topsecret
> </Limit>
> </LocationMatch>
>
> Hope that helps. BTW, where should I look for info on mod_authz_svn?
> What does it do that the vanilla apache auth stuff doesn't?
>
> + seth
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
Developer of Java Gui Builder
http://jgb.sourceforge.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 25 23:50:43 2003

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.