Dear all,
how to encrypt the password in web config without any change the code and we also encrypt the password in web config but i am not connecting to sql server.if any idea plz suggest me asap.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Guest UserRank #816 · 2.8K reputationPosted Aug 11, 2015, 4:33 AM EDT
Khan Abrar AhmedRank #778 · 3K reputationPosted Aug 11, 2015, 4:42 AM EDT
Deepak SainiRank #2,411 · 586 reputationPosted Aug 24, 2015, 10:02 PM EDT
Guest UserRank #816 · 2.8K reputationPosted Aug 24, 2015, 10:55 PM EDT
Vaikesh K PRank #808 · 2.8K reputationPosted Aug 24, 2015, 11:04 PM EDT
Hi Sourabh Saini,
See this website for more info
If you would like to encrypt in-memory passwords, maybe entered by the user through a login form, you could use SecureString
Reference : https://msdn.microsoft.com/en-us/library/zhhddkxy(v=vs.100).aspx