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
What is "Common Type System" (CTS)?  CTS define all of the basic types that can be used  in the .NET Framework and the operations performed on those type. All this time we have

Computer programming Project Description: Solving some issues about traffic jam Skills required: C# Programming, Java, C++ Programming, PHP, Software Architecture

What is an activity? In Windows Workflow Foundation 4.0, an activity is the basic unit of composition and implementation of a workflow. Each activity in a workflow consists of

What is the use of a .disco file? A client application uses a .disco file to locate or discover the documents that have the description of a Web service. The .disco file having

Project Description: I need to get lync server 2013 fixed the issues it has hit: 1) Can't connect to it outside network, I think small firewall problem with a little issue in

PhotoHandler add-on to display file names Project Description: I want a website with a photo gallery using PhotoHandler. I need the code added/ modified to display the image

Project Description: I require a C# Console project written to simply enter an Origin and Destination/Date on the United Airlines Site, from the returned page select and return

Here's the General Background on our project work: We need your help building out a new application that's part of a new startup in the Silicon Valley. We've built a fairly s

The costumer is an application that tracks production costuming, structure and other related pieces. We discussed this in detail and you have commentary and video to define the pro

I require a visual basic (VB) app developer to enhance an existing application. There are very few manual inputs in the application which I need to be imported via excel file. E