UniConnectDialog and password storage

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jacek878
Posts: 11
Joined: Fri 14 Nov 2008 08:08

UniConnectDialog and password storage

Post by jacek878 » Wed 06 Nov 2013 18:42

Hi,
I`ve got problems connected with UniConnectDialog and storing password in registry.
I have set:
DModule.UConnection.Disconnect;
DModule.ucDialog.UseServerHistory := False;
DModule.ucDialog.SavePassword:= True;
DModule.ucDialog.StoreLogInfo:= True;
DModule.ucDialog.Execute;
DModule.UConnection.Connect;
Every time when I want to connect another time I need to enter pass again and again.
For me there is no difference between SavePassword enabled/disabled or StoreLogInfo enabled/disabled
Here is some info about enviroment;
Rad Studio XE5
UniDac 5.1.4
MSSQL 2012 Express ED.
Please help me with this problem cause it`s really irritating.
Jacek

AndreyZ

Re: UniConnectDialog and password storage

Post by AndreyZ » Thu 07 Nov 2013 13:42

Hello,

The password is not saved to the registry because of security reasons. It is not safe to store passwords in the registry. Now, the SavePassword property does nothing, we will remove it from the connection dialog component.

Post Reply