Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
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!
Posted
Comments
So, you are not going to create accounts? For security, you need to set UserName and Password combination.
ali_heidari_ 18-Feb-14 8:43am    
i want use a custom database to store username and password, with this, users can register somewhere by a webpage for example. i dnt want create user account manualy, if users count become 1000, then i have hard time to create users accounts.
Bernhard Hiller 17-Feb-14 3:15am    
Intranet or Internet? If Intranet, does an Active Directory exist?
ali_heidari_ 18-Feb-14 8:46am    
Internet, in Active Directory should i make accounts manually? what is its addvantage, can you explain please!? (ofcaurse i search about it on intenrnet) thank you

1 solution

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.
 
Share this answer
 
Comments
ali_heidari_ 19-Feb-14 5:38am    
ok... i know that, but how say to IIS that use my custom membership provider ( that use my own Database) with windows authentication?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900