Please Add Master Password as an Optional Property of the SessionOptions Class

Advertisement

aksarben
Joined:
Posts:
72

Please Add Master Password as an Optional Property of the SessionOptions Class

RATIONALE:
  1. Since the SessionOptions object already has the host name, WinSCP could use the host name/master password pair to look up the session user name & password, as the GUI already does. This avoids the security risk of having the unencrypted password in a script, or storing it on the local machine, where it could be found by a computer repair technician or hacker. A script that wants to use the master password would simply prompt a user to enter it when the script is launched (just like the GUI does).

  2. If the server user name or password ever changes, the user has to tell WinSCP about the change in only one place (the GUI).

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,541
Location:
Prague, Czechia

Re: Please Add Master Password as an Optional Property of the SessionOptions Class

Sorry, but that's unlikely. We discourage from relying on GUI configuration in scripting. This would go against that.
And it's not difficult to implement an encrypted password storage yourself in .NET.

We do not seem to agree on what the library is for :)

Reply with quote

Advertisement

You can post new topics in this forum