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

Re: how to allow only checkout operations on repositories

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Thu, 7 May 2009 02:15:45 -0500

On May 6, 2009, at 20:02, Andrey Repin wrote:

>> I want to avoid writing access on svn server (without having to
>> change an
>> svn access file). I want to do that with apache directive. Is it
>> possible ?
>
> You could try
> <LimitExcept GET>
> Deny from all
> </LimitExcept>

This will prevent all methods except GET. Subversion uses many more
methods than just GET, even for read-only operations. Check your
Apache logs some time while you're doing a checkout or update.

I would instead modify your pre-commit hook (and, if applicable, your
pre-revprop-change hook) to prevent changes. I just posted an example
of this in another thread:

http://subversion.tigris.org/ds/viewMessage.do?
dsForumId=1065&dsMessageId=2091131

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2091175

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-07 09:17:01 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.