自定义数据库的Windows身份验证 [英] Windows authentication with custom database
本文介绍了自定义数据库的Windows身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好。
我想知道,我可以使用自定义数据库的Windows身份验证!例如一个拥有10000个用户的网站,需要一个数据库来存储用户信息,而不是为每个人用手提供用户帐户。
实际上我想要一个具有登录对话框的身份验证方式,如Windows身份验证但是有空以编程方式检查用户!
我应该使用Windows身份验证还是有其他方法可以做到这一点?
谢谢!
Hello.
I want know , can i use windows authentication with custom database! for example a site with 10000 user, need a database to store user informations instead of making user account for everyone with hands.
actually i want an authentication way that have a login dialog like windows authentication but with abilty to check users programmatically!
should i use windows authentication or there is another way to do that?
thank you!
推荐答案
在这种情况下,请使用您自己的用户管理。它是一个包含用户名和散列密码的表,还有电子邮件地址,可能是角色和角色成员资格的附加表。
In that case, use your own user management. It' s a table with usernames and hashed passwords, and also email addresses, perhaps additional tables for roles and role memberships.
这篇关于自定义数据库的Windows身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文