After I was learning about ASP .NET Membership built-in framework I have decided that this stuff is almost suitable for me. But there are couple features and edits I would like to have:
Two step registration: after user have typed all account information, verification letter should be send to typed email. Before email address is verified it impossible to log in (some message should appear, telling user that email verification is needed before it's allowed to use account).
Membership DB Scheme:
- There is no need to store user question for restoring password.
- Illegal attempts to login is uneccessary.
- Default
aspnet_
prefix is likely to be changed. - ... and so on
For the first item I know that I could use own class derived from SqlMembershipProvider
. Am I right about this? Could you point me at some good post where I could get learned.
For the second improvement it's seems like a trouble. In this book I have read that isn't so easy:
• The built-in SQL storage providers need direct access to your database, which feels a bit dirty if you have a strong concept of a domain model or use a particular ORM technology elsewhere.
• The built-in SQL storage providers demand a specific data schema that isn’t easy to share with the rest of your application’s data schema.