|
| Simple user management sample |
 |
Tue, 1 Apr 2008 05:17:51 +0000 |
Hi,
I'm looking for a simple user management sample/example code that uses
CreateUserWizard, Login, and other controls binded to a SQL Server database
table, but with the following simplified rules:
1. Users table (and authentication) is based only on Email and Password (pref
md5 hash). There is no username or secret question/answer etc.
2. No requirement for roles etc. Just a simple user is logged in or not.
Please help!
Thanks :)
|
| Post Reply
|
| Re: Simple user management sample |
 |
Tue, 1 Apr 2008 08:45:05 +0000 |
Please ignore my previous two questions. I have sorted it out. But I have
another question:
From what I understand, to use ASP.NET Membership controls I need to rely on the
database tables and stored procs created by the aspnet_regsql.exe util. Is there
a way to make the controls (CreateUserWizard, Login, PasswordRecover etc) rely
on my own Users table (my users table only has UserID, Email, Password fields).
If so, please point me to some sample code or tutorial on the correct approach.
Thanks!
|
| Post Reply
|
| Re: Simple user management sample |
 |
Wed, 2 Apr 2008 10:35:50 +0000 |
RiceGuy:CreateUserWizard, Login, PasswordRecover etc) rely on my own Users table
(my users table only has UserID, Email, Password fields).
Hi
Another approach is create your own custom membership provider that stores user
info in your custom table, just as code sample in this link about how to
implement custom membership provider
http://msdn2.microsoft.com/en-us/library/6tc47t75.aspx
Please feel free to write back if anything is unclear
|
| Post Reply
|
|
|
|
|
|
|
|
|
|