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

Apache2 and SVN: How to restrict visibility of some files

From: David Blaisonneau <david.blaisonneau_at_orange-ftgroup.com>
Date: Tue, 12 Oct 2010 14:43:36 +0200

  Hello everyone,

I am using Apache2 and subversion to host developments projects
I would like to:
1/ share all projects for all registered users
2/ restrict the writing rights to projects members
3/ deny the access to sensibles files (eg: trunk/web/passwords.php) for
everyone except project members.

For 1/ and 2/ I am using auth_dbd and Limit/LimitExcept rules and it
works fine.

But for 3/ I have some problems.
I am actually trying to use AuthzSVNAccessFile rule but it is a little
heavy to configure for many projects:
Each time a project create a tag or a branch, I need to add a rule; and
when a branch is delete I need to keep this rule to avoid the reading in
previous revisions...

Is it possible to use wildcards in SVNAccessFile ? For example:

[project:/tags/*/web/passwords.php]

Is there a better way to do this restriction ? without
AuthzSVNAccessFile ? with specific apache rules ?

Thanks a lot for your help.

David
Received on 2010-10-12 14:45:25 CEST

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.