.net - Encrypting/Decrypting an SMTP Password in a Client/Server App -
I need to save username / password for a SMTP server that has a client app Go to this data in SQL Server 2005 , And my server will be consumed by the app. The server application will use the System.Net.Mail namespace to send e-mail messages using the supply credential (and from that user's e-mail address). How can I easily encrypt / decrypt passwords so that I do not have a plain-text password flying in the wire? Note that the client and server application are not guaranteed to be on the same computer.
Namespace in whole encryption .NET - System.Security.Cryptography () Then you encrypt data on client / Can decrypt.
How to store the key of the cipher now it can be stored in encrypted as described in the app.config. However, note that if the user has a machine access mechanism, they can decrypt the key stored in your app .config.
Comments
Post a Comment