jeudi 11 février 2016

Windows Authentication in MVC5 query [duplicate]

This question already has an answer here:

I have read about windows authentication in MVC5 for ASP.net project.

As far as i can understand, if i am using the development server's users for authentication, i have to change settings in the server to enable windows authentication, install IIS, publish website and write C# code to grant access based on whether the user is admin or basic user.

Now in my case, i am using my projects database table where i have a list of users. do i have to follow the same steps here as well like enabling authentication mode to Windows in development server settings and then write C# code to authenticate database users to my site.

Can someone tell me what steps i need to perform for getting windows authentication using my projects database table. (where all the users list who can access the site are saved in the table)

Aucun commentaire:

Enregistrer un commentaire