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

Re: Can I restrict access to repository subdirectories?

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-08-27 21:18:15 CEST

Hello Doug,

What you are searching for is mod_authz_svn. See
http://svn.collab.net/repos/svn/trunk/subversion/mod_authz_svn/INSTALL.

There is also another way to configure Apache to require different
credentials for different parts of the repository. See the thread at
http://subversion.tigris.org/servlets/ReadMsg?list=users&msgNo=939.

Hope that helps,
François

On 27 Aug 2003 14:07:04 -0500, "Doug Dicks" <dwd-l@revelanttech.com>
said:
> 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
>
Developer of Java Gui Builder
http://jgb.sourceforge.net/

---------------------------------------------------------------------
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:19:14 2003

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.