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

Re: R: Prevent storing of credentials

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 05 Jul 2010 19:24:12 +0200

On 05.07.2010 14:44, Zibetti Paolo wrote:
> We also sometimes use shared machines and we have the same problem with credentials being saved by mistake.
>
> The best solution I could figure out so far, is a script executed every time the computer is rebooted that deletes the saved credentials.
> Of course, until the machine is rebooted, credentials saved by mistake remain there and can be used by the next user of the shared machine.
>
> To remove the saved credentials, simply remove the following folder (assuming you are running as user "administrator"):
> C:\Documents and Settings\Administrator\Application Data\Subversion\auth
>
>
> It would be great if TSVN offered a configuration option to disable saving of user credentials.

You can also have the auth folder deleted on logoff, not just reboot:
http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug.html#tsvn-dug-general-auth

  Some people like to have the authentication data deleted when they log
off Windows, or on shutdown. The way to do that is to use a shutdown
script to delete the %APPDATA%\Subversion\auth directory, e.g.

@echo off
rmdir /s /q "%APPDATA%\Subversion\auth"

You can find a description of how to install such scripts at
http://www.windows-help-central.com/windows-shutdown-script.html .

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=2629640
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-07-05 19:24:31 CEST

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.