Is there a way to prevent authentication from persisting in Tortoise SVN

I use Tortoise SVN, and I usually have my own username / password stored in it, stored data, so I do not have to authenticate every time.

The problem is that we have several scripts, Final Builder projects, and things that use a different username - and therefore this overwrites my own username in the saved data.

Then I go to commit and find that he did this using a different username.

I know that I can manually clear the saved state, but half the time that I forgot about. I don't mind authentication every time if necessary, so is there a way to prevent SVN striping from caching at all?

+4
source share
4 answers

You can disable authentication caching in subversion configuration files, which can usually be found in %appdata%\Subversion\config .

Take a look at the store-passwords and store-auth-creds .

BTW: AnkhSVN users can find a dialog for deleting only certain credentials in Tools → Options → Source Control → Subversion Environment → Authentication Cache

+5
source

From TortoiseSVN Help:

Some people like to delete authentication data when they log out of Windows or when they shut down. The way to do this is to use a shutdown script to delete the %APPDATA%\Subversion\auth , for example.

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

You can find a description of how to install such scripts on windows-help-central.com.

Perhaps scripts, Final Builder projects, etc. must clear the authentication data after they start.

These scripts and tools probably use svn , not TortoiseSVN. In this case , the SVN book lists this convenient switch:

--no-auth-cache

Prevents caching of authentication information (such as username and password) in Subversion administrative directories.

+6
source

TortoiseSVN 1.9.3, Build 27038 - 64 bit.

TortoiseSVN-> Settings-> Advanced: The value of the "AllowAuthSave" parameter will change to "false"

preview settings

+5
source

TortoiseSVN stores the credentials in the default Subversion directory: %APPDATA%\Subversion\auth in three subdirectories:

  • svn.simple contains credentials for basic authentication (username / password).
  • svn.ssl.server contains SSL server certificates.
  • svn.username contains authentication credentials for username only

You may have a build event that can modify or move these files.

More details: http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug.html#tsvn-dug-general-auth

+3
source

All Articles