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
TScSSHClient.Password Write Only
-
- Posts: 18
- Joined: Mon 28 Nov 2011 18:04
- Location: Türkiye
Re: TScSSHClient.Password Write Only
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.
Note, it's very dangerous to store passwords in the application.