TScSSHClient.Password Write Only

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
multimesut
Posts: 18
Joined: Mon 28 Nov 2011 18:04
Location: Türkiye

TScSSHClient.Password Write Only

Post by multimesut » Thu 25 Jan 2018 13:50

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

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: TScSSHClient.Password Write Only

Post by ViktorV » Thu 25 Jan 2018 15:17

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.

Post Reply