Encrypt email address using .Net Forms Authentication
Posted on 2011-02-10
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!