Authentication is a process that verifies the authenticity of the user. And Authorization is the process to check that what resources the authenticated user can have access to.

In ASP.NET there are the following types of Authentication:

:- Windows Authentication

:- Forms Authentication

:- Passport Authentication

:- Anonymous Authentication


Now we look at the syntax of the Authentication. Here we describe it in the web.config file:


<system.web>

<authentication mode=”[Windows/Forms/Passport/None]”>

</authentication>

</system.web>