Differences
This shows you the differences between the selected revisions of the page.
2020-11-03 | 2020-11-23 | ||
advanced settings (martin) | 5.17 is not recent anymore (martin) | ||
Line 41: | Line 41: | ||
==== [[readonly_sections]] Read-Only Configuration Sections ==== | ==== [[readonly_sections]] Read-Only Configuration Sections ==== | ||
- | //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. | + | 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 69: | Line 69: | ||
==== [[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. &recent | + | A simpler way to make whole configuration read-only is to use an INI file and set it read-only in a file system. |
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. |