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

controlling access to repositories based on svn client version nu mber

From: Michael Colefax <MichaelCo_at_resmed.com.au>
Date: 2006-02-22 07:03:47 CET

We would like to deny access to our Subversion repositories by Subversion
clients that are not version 1.3.0.

I understand that Subversion clients report their version number in the user
agent string of server requests.

We use Apache2. In the http.conf configuration file, we try to allow access
using the BrowserMatch feature:

        BrowserMatch "^SVN/1\.3\.0" letmein

        <Directory "D:/svnpd">
            Order Deny,Allow
            Deny from all
            Allow from env=letmein

However it doesn't seem to work. We have tried this for a while with
different server versions. For some versions it works (eg when we were
using 1.2.1), but since 1.2.3 we havent had any luck.

Has anyone else tried doing this?

Michael Colefax

Warning: Copyright ResMed. Where the contents of this email and/or attachment includes materials prepared by ResMed, the use of those
materials is subject exclusively to the conditions of engagement between ResMed and the intended recipient.
This communication is confidential and may contain legally privileged information.
By the use of email over the Internet or other communication systems, ResMed is not waiving either confidentiality of, or legal
privilege in,the content of the email and of any attachments.
If the recipient of this message is not the intended addressee, please call ResMed immediately on +61 2 9886 5000 Sydney, Australia.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 22 07:04:44 2006

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.