Page 1 of 1

TScSSHClient.Password Write Only

Posted: Thu 25 Jan 2018 13:50
by multimesut
Could you do Password property area just only writable to TScSSHClient component?(or new function SetPassword) I share developers my unites as dcu. It is visible when inserting password inside it. Developers see the password.

Now;
oSSHClient.Password := '123456'
showmessage(oSSHClient.Password);// 123456

Example;
oSSHClient.wPassword := '123456'
showmessage(oSSHClient.Password);// empty

Example2;
oSSHClient.SetPassword('123456');
showmessage(oSSHClient.Password);// empty

Example3;
oSSHClient.Connect('root','123456');
showmessage(oSSHClient.Password);// empty

Re: TScSSHClient.Password Write Only

Posted: Thu 25 Jan 2018 15:17
by ViktorV
This is the standard behavior of our components, which our users have been using for many years and changing it will affect them all. We do not see the expediency of changing it, but if you want to change this behavior, you can purchase the SecureBridge source codes and make the required changes.
Note, it's very dangerous to store passwords in the application.