Powered by Blogger.

Saturday, March 15, 2014

Windows based authentication in asp.net

In this post we will discuss about Windows based authentication in asp.net. You can also check out:

- How to open hyperlink in new tab using jQuery or JavaScript?

- Asp.Net MVC4 Controller class example

- Array and ArrayList in C#.Net

When the authentication is implemented based on network level login then it is called as Windows based authentication.

Windows based authentication is applicable at the intranet based implementation that is private website of the organization.

You can change at the web.config level to implement Windows based authentication:

<authentication mode="Windows"/>
      <allow users="user1,user2,user3"/>
      <deny users="*"/>

Here apart from user1, user2 and user3 everyone else will get error.