Alex Rivera | Logout

How to encrypt username and password in Web.config in C# 2.0

Asked 2011-06-09T10:22:37.587
16

I have the entries below in my Web.config and I am using .NET 2.0 and C# for coding.

 <add key="userName" value="s752549"/>
 <add key="userPassword" value="Delhi@007"/>

Now I want this to be encrypted so that nobody can see it, and also these passwords may change frequently (every fifteen days).

Edit
Report

1 Answer

1
answered 2011-06-09T10:24:59.320

Your Answer