当前位置: 首页 > 文档资料 > WinSCP 手册文档 >

Administration Tasks

优质
小牛编辑
131浏览
2023-12-01

WinSCP allows system administrators to restrict or enforce certain functionality of the application.

System administrator can configure the following:

These restrictions are configured via “local machine” registry root key (modifiable only by system administrators). Example of corresponding registry export follows:

[HKEY_LOCAL_MACHINE\SOFTWARE\Martin Prikryl\WinSCP 2]
"DisableOpenEdit"=dword:00000001
"DisablePasswordStoring"=dword:00000001
"DisableAcceptingHostKeys"=dword:00000001
"ForceBanners"=dword:00000001
"DefaultUpdatesPeriod"=dword:00000000
"DefaultCollectUsage"=dword:00000001

On 64-bit systems, a physical location of the key is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Martin Prikryl\WinSCP 2 (as WinSCP is 32-bit application).

Administrator can set site setting Special to 1 to restrict user from modifying or deleting the site accidentally (Note that the setting can be changed by end-user). Such site will also be highlighted in site list. Example how to configure the setting, if INI file is used as configuration storage, follows:

[Sessions\Server]
HostName=example.com
UserName=customer
Special=1

WinSCP can be distributed with the restrictions preconfigured.