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

Re: tsvn login 3 times vs ability to svn copy

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 26 Feb 2009 18:14:30 +0100

Toal, Michael (GE EntSol, Intelligent Platforms) wrote:

> Sorry that this is such a long email.
> I have appended apache error and access logs.
>
> We have just upgraded our server to use svn 1.5 and also changed from
> svn protocol to http.
>
> The nature of our data means that we must authenticate and we do not
> want to allow our users of tortoise to cache their authentication
> details.
>
> Tortoise repo browser was asking for 3 logins, which is not an ideal
> user experience.
> So we began to investigate if we could alter the apache configuration to
> stop this.

In the upcoming 1.6 release, TSVN will only require one login. The auth
data is saved in memory until a dialog is closed or a new one opened.

> Using the LimitExcept directive we added <LimitExcept OPTIONS PROPFIND>
> around Require valid-user.
>
> This cured the 3 login problem, but then we noticed that we cannot svn
> copy, so no branching and tagging.

What do you mean with "we cannot svn copy"? There's the "copy to..."
menu, you can drag items to new locations (hold down the ctrl key for a
copy, otherwise it's a move).

> In general I would like to understand how to not require authentication
> for listing directories, looking at logfiles and only requiring
> authentication for access to source files, including differences etc.

To deny specific svn operations, you have to configure apache correctly.
But it's not possible to do that by operation, only by DAV requests,
which means it's limited to read and/or write access:
http://svnbook.red-bean.com/en/1.5/svn.serverconfig.httpd.html#svn.serverconfig.httpd.authz

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1233908
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-02-26 18:14:59 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.