Link to home
Start Free TrialLog in
Avatar of rkulp
rkulpFlag for United States of America

asked on

How to Change From Unencrypted Connection String Password to Encrypted?

I currently have a site where the Web.Config file has a SQLServer connection string containing an unencrypted password. I would like to change it to be encrypted. What steps do I complete to make the conversion without messing up the connection?
Avatar of Munawar Hussain
Munawar Hussain
Flag of Pakistan image

you may put an encrypted connectionstring in webconfig file

to use in your code create a centeralized place a method whilch will read encrypted one and after decrypting will save in the state or you may decrypt everytime before creating a connection to sql server

Avatar of rkulp

ASKER

I was hoping for some automatic method built into ASP.Net. Does such a thing exist?
ASKER CERTIFIED SOLUTION
Avatar of bmcvicar
bmcvicar
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rkulp

ASKER

bmcvicar,

Thanks. I'll try it and get back.
Avatar of rkulp

ASKER

Thanks for the links.