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

read only access by hostname?

From: Phil Lawrence <prlawrence_at_Lehigh.EDU>
Date: 2005-06-06 19:17:40 CEST

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://...
</Location>

If I can't do it with one virtual host, perhaps I could run a 2nd,
read-only service that only allows traffic from the production server.
Then deny all traffic from that same server with the normal svn virtual
host?

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 6 19:43:32 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.