Hi,
Authenticating Users with a Database Table
To support a custom user registration system, we need to store usernames and passwords in a database table, so that we can make this as a scalable solution.
Step1 :Create a table in the database named as UserTable.
The structure of the table is given below.
CREATE TABLE UserTable
(
u_id INT NULL IDENTITY,
u_username VARCHAR(20),
u_password VARCHAR(20)
)
Step 2:
The Login.aspx page validates usernames and passwords by checking them against the contents of the UserTable.
Step3: Create a Register.aspx form to register new users. This form also contains fields of username and password.
The Title "Develop your own Web Accounting Application using ASP.Net" explains the topic on Security very well.
visit :
http://www.vkinfotek.com
Regards
bhar