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

RE: Setting up repository to not allowed checkout on a directory

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Wed, 16 Jan 2008 13:58:06 -0000

>
 
 
Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447
 
-----Original Message-----
 

> From: Jonathan Ashley [mailto:jonathan.ashley_at_praxis-his.com]
> Sent: 16 January 2008 12:08
> To: Giulio Troccoli; users_at_subversion.tigris.org
> Subject: RE: Setting up repository to not allowed checkout on a
directory
>
> > <Location /svn-test>
> > DAV svn
> > SVNPath /data/TestRepositories/svn-test
> >
> > # Access Control Policy
> > AuthzSVNAccessFile /etc/httpd/etc/svn-test.access
> >
> > # How to authenticate a user
> > AuthType Basic
> > AuthName "Subversion Testing Repository"
> > AuthUserFile /etc/httpd/etc/passwd-svn-test
> >
> > # For any operations other than these , require an
> > authenticated user
> > <LimitExcept GET PROPFIND OPTIONS REPORT>
> > Order deny,allow
> > Require valid-user
> > </LimitExcept>
> > </Location>
> >
> > And the access policy file is as follows
> >
> > [svn-test:/]
> > * = rw
> >
> > [svn-test:/5.02]
> > gtroccol =
> >
> > I thought this configuration allowed all access to everybody,
> > but restrict gtroccol from any access to 5.02. Eventually I
> > will make user of the groups, but I want to make it works first.
> >
> > But if I check-out svn-test as gtroccol I still have the 5.02
> > directory.
>
> I have a configuration file that works, and the main difference to
> yours is that I *don't* put LimitExcept around my 'Require valid-user'
> directive. I think you are deciding to allow completely anonymous
> users to do the operations that are needed for checkout, so maybe
> Apache never challenges for authentication in the first place?
>
> Try getting rid of it.
>
> regards,
> --
> Jon Ashley
>

Jon, that worked a treat, thank you very much. I knew it must have been
simpler than I thought.

Giulio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-16 14:58:38 CET

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.