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
Question: (a) Give four benefits of ASP.NET Web Controls. (b) List and explain any five properties of the ValidationSummary control. (c) Multiple Web Form controls ca

What is XML Text Reader? The "XmlTextReader" class helps to give fast access to streams of XML data in a forward-only and read-only manner. The XMLTextReader also checks if the

Encripter-Decripter application Project Description: I want an application which can encrypt - decrypt text, images, and music files as well as videos. Skills required are

What are the improvements made in CAS in .NET 4.0? The CAS mechanism in .NET is used to control and configure the ability of managed code. Previously, as this policy was applic

I am seeking to get a logo design for a business. Skills required: .NET, HTML, Graphic Design, PHP, Website Design

This assignment is based on lectures, tutorials, computer labs and research work. 1. Background During the lectures and tutorials on business process modeling and business

How does CAS works? There are two key methods of CAS security policy- code groups and permissions. A code group contains assemblies in it in a manner that each .NET assembly is

How to decide on the design consideration to take a Datagrid, datalist or repeater? So many make a blind choice of choosing datagrid directly, but that is not the right way.

hello,i want to ask that i have to make a test taker just like a quiz in vb.net which should b like mcq''z one...it must contain a connectivity with database of oracle or MS access

Briefly explain how the server control validation controls work? A validation control works by evaluating the value of an input server control on the page to see whether it mee