protect (encrypt) password in the web.config file (asp.net)
Posted
by
Hazro City
on Stack Overflow
See other posts from Stack Overflow
or by Hazro City
Published on 2010-12-24T09:50:16Z
Indexed on
2010/12/24
9:54 UTC
Read the original article
Hit count: 245
ASP.NET
<system.net>
<mailSettings>
<smtp from="[email protected]" deliveryMethod="Network">
<network clientDomain="www.domain.com" host="smtp.live.com" defaultCredentials="false" port="25" userName=" [email protected] " password="password" enableSsl="true" />
</smtp>
</mailSettings>
</system.net>
This is the case where I need encryption for my password. I searched and googled much on the web but I can’t be able to encrypt anymore.
Can anyone help me do this in a simple but secure way.
© Stack Overflow or respective owner