Preventing Saved Authentication in Tortoise SVN at the Server Level

Abstract: Disable TortoiseSVN credential caching by setting store-passwords and store-plaintext-passwords to no in the Subversion config file.

Created: 2026-08-23 by
To prevent TortoiseSVN from saving authentication credentials at the server level, you must configure the Subversion configuration file to disable credential caching. This is achieved by setting the store-passwords and store-plaintext-passwords options to no. This ensures that sensitive data is not persisted on disk, enhancing security for shared or public workstations.

Understanding TortoiseSVN Credential Storage

TortoiseSVN relies on the underlying Subversion client library to handle network operations, including authentication. By default, when you connect to a repository, the client prompts for a username and password. If you check the "Save Authentication" box in the dialog, or if the configuration allows it, the client stores these credentials in an encrypted cache directory on your local machine. While convenient, this practice poses significant security risks, particularly in environments where multiple users access the same computer or where strict compliance with data protection regulations is required. The configuration files that control this behavior are located in the user's home directory. On Windows, this is typically %APPDATA%\Subversion\config, while on Linux and macOS, it resides in ~/.subversion/config. Understanding the structure of these files is crucial because they contain global settings that apply to all repositories accessed by that user. Modifying these settings allows administrators or individual users to enforce policies that align with their organization's security standards.

Locating the Configuration File

Before making changes, you need to identify the correct configuration file. TortoiseSVN provides a convenient way to open the folder containing these files directly from the interface. Right-click anywhere in Windows Explorer and select TortoiseSVN > Settings. In the settings window, navigate to the Saved Data category. Here, you will see a button labeled Open Config Folder. Clicking this button opens the directory where the config file is stored. Alternatively, you can manually locate the file using environment variables. For Windows users, the path is usually C:\Users\\AppData\Roaming\Subversion\config. For Unix-based systems, the path is ~/.subversion/config. It is important to note that there may be two config files: one in the user's home directory and another in the installation directory. Changes made to the user-specific file take precedence over the global installation file, so always edit the one in the user's directory to ensure your settings persist across updates.

Disabling Password Caching via Configuration

The core solution involves editing the config file to explicitly disable storage mechanisms. Open the file in a plain text editor like Notepad or VS Code. Look for the section titled Authentication. This section contains several directives related to how the client handles credentials. You need to modify two specific lines:
  1. store-passwords: This option controls whether passwords are saved in the encrypted keychain or credential store.
  2. store-plaintext-passwords: This option controls whether passwords are saved in plain text within the configuration file itself.
By default, these are often set to yes. To prevent saving, change them to no. The lines should look like this:
# Set this to 'yes' to allow the client to store passwords.
# store-passwords = yes
store-passwords = no

# Set this to 'yes' to allow the client to store plaintext passwords.
# store-plaintext-passwords = yes
store-plaintext-passwords = no
Note that you may need to remove the leading # character to uncomment these lines if they are commented out by default. After making these changes, save the file. The next time you perform an SVN operation, the client will prompt for credentials but will not offer the option to save them, nor will it automatically reuse previously entered credentials.

Handling Existing Cached Credentials

Changing the configuration does not automatically delete credentials already stored on your system. To ensure complete removal, you must clear the existing cache. Go back to the TortoiseSVN Settings window and select the Saved Data category. You will see a list of cached items, including passwords, SSL certificates, and servers. Click the Clear button next to the Passwords item. A confirmation dialog will appear; confirm the action to delete all stored credentials. This step is critical because some older versions of the client might still attempt to use old cached entries until they are explicitly purged. For additional security, you can also restrict access to the configuration file itself. On Windows, right-click the config file, select Properties, go to the Security tab, and ensure that only your user account has read/write permissions. Remove access for other users if necessary. On Linux/macOS, use chmod 600 ~/.subversion/config to restrict file permissions.

Alternative Methods for Enhanced Security

While disabling password storage is effective, it requires users to enter credentials every time. For environments where automation is needed but security cannot be compromised, consider using SSH keys instead of password authentication. Configure your SVN repository to accept SSH connections and set up key-based authentication. This method eliminates the need for password entry entirely while maintaining strong security through cryptographic keys. Another approach is to use a dedicated credential manager integrated with your operating system. Tools like KeePassXC or Bitwarden can be configured to auto-fill SVN prompts without storing the data in the Subversion cache. However, this requires additional setup and third-party software. For most organizations, simply disabling the cache via the config file is the most straightforward and reliable method. If you are managing a large team, enforcing these settings centrally can be challenging. In such cases, consider deploying group policy objects (GPO) on Windows domains to push the modified config file to all workstations. This ensures consistent security posture across the organization. For more information on handling authentication issues in different contexts, you might find Chrome for Android Fails to Autofill Basic HTTP Authentication Passwords useful for understanding broader authentication patterns.

Verifying the Changes

After applying the changes, verify that they are working correctly. Perform an SVN command, such as svn info or update a working copy. You should be prompted for a username and password. Enter valid credentials. Once the operation completes, try running the same command again. If the configuration is successful, the client should prompt for credentials again rather than using a cached value. If it logs in silently, double-check the config file syntax and ensure there are no duplicate entries overriding your settings. Additionally, monitor the %APPDATA%\Subversion\auth directory (on Windows) or ~/.subversion/auth (on Unix). This directory contains the actual credential caches. With the settings applied, you should notice that new entries are not created, or existing ones are cleared. This visual confirmation helps assure that the security measure is active.

Frequently Asked Questions

Does disabling password storage affect SSL certificate validation?

No, changing the store-passwords setting only impacts credential caching. SSL certificate preferences are controlled by separate options like store-ssl-client-cert-ssh. These remain unaffected unless you explicitly modify them.

Can I disable password saving for a specific repository only?

The config file applies globally to all repositories for a user. There is no built-in per-repository setting to disable password saving. You would need to use separate user accounts or virtual machines for repositories requiring different security levels.

What happens if I forget my password after disabling storage?

Since credentials are not saved, you must remember your password each time. If you forget it, you will need to reset it via the repository administrator or the server's authentication mechanism. TortoiseSVN does not provide a way to recover cached passwords.

Are there any performance benefits to disabling password storage?

There are negligible performance differences. Disabling storage removes the overhead of encrypting and decrypting credentials from disk, but this impact is minimal compared to network latency. The primary benefit is security, not speed.

How do I revert these changes if I want to start saving passwords again?

Simply edit the config file again and change store-passwords and store-plaintext-passwords back to yes. Save the file, and the next authentication prompt will allow you to save credentials as usual.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More