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

Re: restricting checkout???

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-04-27 21:10:49 CEST

On Apr 27, 2005, at 1:15 PM, bruce wrote:

> ok.. ok... clarification...
>
> i mean view via a browser... if i setup the user to have dir/file
> access/auth, then the user can not only view the file via the browser,
> but
> the user could also fetch/download/checkout all files for a given
> project.
>
> i'd like to allow a user to view the dir/file from a browser.. but not
> checkout the project files via a browser...
>

Sure, you can set up a CGI program to browse the repository, like
ViewCVS.

Then independently, use a module like mod_authz_svn to prevent "read"
access to certain parts of the repository from certain users. This
will prevent 'svn checkout', or any other svn command that tries to
read the files.

The CGI script is unaffected by mod_authz_svn, since it's handling a
whole different set of URLs.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 27 21:31:30 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.