Authentication for the database which already have form authentication - asp.net

184 Views Asked by At

I have a database which has form authentication tables for an website [let say website A], now I have attached a new website [Website B] to the same database, in this website [Website B] also I have to provide login/authentication which would be separate from the website A authentication system. So I want to have separate table for the users of new website. Specification:

  1. Website B will not have more than 5 users

  2. Hashing/Salting of password is required

  3. Few columns required.

Suggest me how can I achieve it?

will there be any open source membership provider like we have .NET membership provider [form authentication].

2

There are 2 best solutions below

0
On BEST ANSWER

You can save the hashed password in the web.config file and than can read it. This is not one of the best approach but will work for you. To store information for 5 User is not going to consume space in Web.Config file.

5
On

Since you are using .NET Forms authentication already, you could use a different "Application Name" in the Membership Provider settings for the second application and it will maintain two sets of users for you.