Authentication for the database which already have form authentication - asp.net [closed]
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this questionI 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:
- 开发者_StackOverflow社区
Website B will not have more than 5 users
Hashing/Salting of password is required
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].
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.
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.
精彩评论