Naveenks
6 years agoContributor
Password in encripted format for sql database in connection string
Hi,
I am having connection string for my SQL server where in which i need to enter plain password for connction through database.Is there any way so that i can hide or display that password in encripted format.Below is my connection string code :-
var ConnectionString = "DRIVER=SQL Server;SERVER=H_kptest;UID=aaa;PWD=aaa";
This password aaa should be in encripted format.
Regards,
Naveen
Sure... my intention was in script. So, what you would do is something like this.
var ConnectionString = "DRIVER=SQL Server;SERVER=H_kptest;UID=aaa;PWD=" + Project.Variables.password.DecryptedValue;