There's nothing built-in, but you could use a custom membership provider that encrypted the data on the way in to the database and decrypted it on the way out. While it sounds like a hard task, it's pretty easy. For a start, there's a video (http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider),
plus if you search for "Custom ASP.NET Membership Provider" you'll find a ton of resources. Also, the source code for the existing providers is available from Microsoft at download.microsoft.com/download/a/b/3/ab3c284b-dc9a-473d-b7e3-33bacfcc8e98/ProviderToolkitSamples.msi,
so you can just download the code and modify the appropriate bits of it.
Dave Sussman
All-Star
37716 Points
5005 Posts
ASPInsiders
MVP
Re: Encryption question
Feb 02, 2012 07:29 AM|LINK
There's nothing built-in, but you could use a custom membership provider that encrypted the data on the way in to the database and decrypted it on the way out. While it sounds like a hard task, it's pretty easy. For a start, there's a video (http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-a-custom-membership-provider), plus if you search for "Custom ASP.NET Membership Provider" you'll find a ton of resources. Also, the source code for the existing providers is available from Microsoft at download.microsoft.com/download/a/b/3/ab3c284b-dc9a-473d-b7e3-33bacfcc8e98/ProviderToolkitSamples.msi, so you can just download the code and modify the appropriate bits of it.