protect (encrypt) password in the web.config file (asp.net)
- by Hazro City
<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.