开发者

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

开发者 https://www.devze.com 2023-02-09 12:11 出处:网络
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this
Closed. This question needs to be more focused. It is not currently accepting answers.

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 question

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. 开发者_StackOverflow社区

    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].


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消