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

Re: read only access by hostname?

From: Charles Bailey <bailey.charles_at_gmail.com>
Date: 2005-06-06 20:07:34 CEST

On 6/6/05, Phil Lawrence <prlawrence@lehigh.edu> wrote:
> Can anyone suggest how I might force access to be anonymous/read only
> when coming from a particular hostname? I don't want anyone able to
> check IN code from our production server, only read.
>
> Currently my apache conf looks like this:
>
> <Location />
> DAV svn
> SVNPath /var/svn
>
> ### our access control policy
> Order Deny,Allow
> Deny from all
> AuthzSVNAccessFile /etc/svn-access-file
>
> # try anonymous access first, resort to real
> # authentication if necessary.
> Satisfy Any
> Require valid-user
>
> # how to authenticate a user
> AuthType Basic
> AuthName "AD Lookup"
> AuthLDAPURL ldap://...

Could you try something like (untested)

    <LimitExcept GET CONNECT PROPFIND OPTIONS>
         Order Allow,Deny
          Deny from production.server
    </LimitExcept>

> </Location>

-- 
Regards,
Charles Bailey
Lists: bailey _dot_ charles _at_ gmail _dot_ com
Other: bailey _at_ newman _dot_ upenn _dot_ edu
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 6 20:10:52 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.