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

Can I restrict access to repository subdirectories?

From: Doug Dicks <dwd-l_at_revelanttech.com>
Date: 2003-08-27 21:07:04 CEST

Hello All,

Can I restrict access to subdirectories within the repository based upon
user ID using SVN+Apache?

I have a directory in the company repository called HumanResources that
only certain people in the organization should be able to view.

I've successfully configured Apache to authenticate the user before
allowing access to the repository. I've tried using multiple Location
blocks - so I have "require valid-user" in the top-level one and
"require user foo" in the subdirectory one, but that doesn't seem to
work. I've googled, consulted the book, and searched the archives, but
couldn't find anything.

I know I could set up a separate repository for them, but this scenario
could happen in other parts of the repository.

Suggestions?

Subversion version is .27. Apache is 2.0.47.

Thanks,

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 27 21:09:22 2003

This is an archived mail posted to the Subversion Users mailing list.