Forefront_Data_Solutions
asked on
Encrypt email address using .Net Forms Authentication
Hello Experts!
We are creating a web application that requires authentication. We are using the built-in .Net Forms Authentication to handle the authentication. However, our security office has mandated that we must encrypt the email address, which is stored in the aspnet_Membership table. By default, the email address is stored in plain text. Does anyone know of a way to override or modify the "Create User" method (or other methods) so that we can encrypt the email (much like the password is encrypted)? Any workarounds? We are using ASP.NET (VB) Framework v4 and SQL Server 2008. Specific examples would be very helpful!
We are creating a web application that requires authentication. We are using the built-in .Net Forms Authentication to handle the authentication. However, our security office has mandated that we must encrypt the email address, which is stored in the aspnet_Membership table. By default, the email address is stored in plain text. Does anyone know of a way to override or modify the "Create User" method (or other methods) so that we can encrypt the email (much like the password is encrypted)? Any workarounds? We are using ASP.NET (VB) Framework v4 and SQL Server 2008. Specific examples would be very helpful!
Write your own custom membership provider http://www.asp.net/general/videos/how-do-i-create-a-custom-membership-provider
ASKER
We've looked into that already but would prefer not to have to do that. We want to continue to use the built-in membership with the exception of just encrypting the email address.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This did not fully address my question. However, since no one else commented, I will go ahead and close the question.