Asp.net authentication process, DOT NET Programming

Can you explain how the ASP.NET authentication process works?

 The ASP.NET does not run by itself, it runs inside the process of the IIS. So there are 2  authentication layers which exist in ASP.NET system. First authentication execute  at the IIS level and then at the ASP.NET level depending on the WEB.CONFIG file.

The working of the whole process is shown below:-

1) The IIS first checks to make sure that the incoming request comes from an IP address that has  allowed access to the domain. If not it denies the request.

2) The Next IIS performs its own user authentication if it is configured to do . By default the IIS allows anonymous access, so requests are automatically authenticated, but you can change this default on a per - application basis within the IIS.

3) If the request is passed to the ASP.net with an authenticated user, the ASP.net checks to see whether  the impersonation is enabled. If impersonation is enabled, ASP.net acts as though it were the authenticated user. If not ASP.net acts with its own configured account.

4) Finally the identity from the step 3 is used to request resources from the operating system. If the ASP.net authentication can obtain all the necessary resources it grants the users request otherwise it is denied. The Resources can include much more than just the ASP.net page itself you can also use .The Net's code access security facility to extend this authorization step to Registry keys, disk files and other resources.

Posted Date: 9/22/2012 4:48:24 AM | Location : United States







Related Discussions:- Asp.net authentication process, Assignment Help, Ask Question on Asp.net authentication process, Get Answer, Expert's Help, Asp.net authentication process Discussions

Write discussion on Asp.net authentication process
Your posts are moderated
Related Questions
Project Description:                                   Urgently require an expert with good knowledge of writing experience and UML diagrams. This project requires technologi

Project Description: Digital invy - inventory management Main Features User friendly windows based software Multi Branch Multi company facility Multi user Integra

What is Reflection?  It extends the advantages of metadata by allowing developers to inspect and use it at runtime. For example, dynamically determine all the classes contained

What is event bubbling? The Server controls such as  DataList, Datagrid,  Repeater can have another child controls inside them. For example the DataGrid can have combo box ins

If one of your validations is complicated and does not fit in any validators, what you do? The best way is to go for CustomValidators. The sample code for a custom validator

I need a program that mimics the similar functionality as the link below. Program must have a unique user interface. Must add source code, installer, and of course a nice user i

Investment Equation - C# Program I didn't know the exact code for computing Investment Equation. Can anybody suggest me the correct way for my problem?

Project Description: We require.NET ( C#.Net or VB.Net ) application to send whatsapp message : - The application could be connected to SQL server database to fetch the conta

Calculating the Sum of Digits - C# Program Hi, Can any of you, tell me how can i calculate the sum of digits of a given number?

Why do we need static methods for Post Cache substitution? The ASP.NET should be able to call this static method even when there isn't an instance of your page class available.