Differences

This shows you the differences between the selected revisions of the page.

2019-09-25 2020-02-18
5.16 Individual configuration storage sections can be set read-only (martin) 5.17 released (martin)
Line 39: Line 39:
==== [[readonly_sections]] Read-Only Configuration Sections ==== ==== [[readonly_sections]] Read-Only Configuration Sections ====
-//In the latest beta version,// &beta you can set individual configuration sections read-only. This way you can for example prevent a user from changing default transfer settings, while still allowing other kinds of customizations. +//In the recent versions,// &recent you can set individual configuration sections read-only. This way you can for example prevent a user from changing default transfer settings, while still allowing other kinds of customizations.
Setting a configuration section read-only makes WinSCP silently discard any changes to that section, when saving the configuration. Setting a configuration section read-only makes WinSCP silently discard any changes to that section, when saving the configuration.
Line 67: Line 67:
==== [[ini_readonly]] Read-Only INI File ==== ==== [[ini_readonly]] Read-Only INI File ====
-A simpler way to make whole configuration read-only is to use an INI file and set it read-only in a file system. This option is available even in the older versions. &beta+A simpler way to make whole configuration read-only is to use an INI file and set it read-only in a file system. This option is available even in the older versions. &recent
When INI file directory or the file itself is not writable (for example when the INI file is in ''Program Files'' folder or when it is explicitly set read-only), WinSCP does not preserve its state when exiting. No error message is displayed. Only when you explicitly change configuration (such as when you save [[session_configuration|site]], or submit [[ui_preferences|Preferences dialog]]), an error is shown. You can make WinSCP overwrite a read-only INI file by holding ''Shift'' key, while closing or submitting Preferences dialog. When INI file directory or the file itself is not writable (for example when the INI file is in ''Program Files'' folder or when it is explicitly set read-only), WinSCP does not preserve its state when exiting. No error message is displayed. Only when you explicitly change configuration (such as when you save [[session_configuration|site]], or submit [[ui_preferences|Preferences dialog]]), an error is shown. You can make WinSCP overwrite a read-only INI file by holding ''Shift'' key, while closing or submitting Preferences dialog.

Last modified: by martin