Asp.net authentication process, DOT NET Programming

Assignment Help:

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.


Related Discussions:- Asp.net authentication process

Explain difference between the clone and copy methods, What is the differen...

What is the difference between the Clone() and Copy() methods of the DataSet class? The Clone() method copies only the structure of a DataSet. The copied structure having all t

Ways to implement locking in ado.net, What are the ways to implement lockin...

What are the ways to implement locking in ADO.NET? There are many ways to implement locking using ADO.NET which are shown below:- 1)Whenever we call "Update" method of DataA

Load multiple tables in a data set, How can we load multiple tables in a Da...

How can we load multiple tables in a DataSet ? objCommand.CommandText = "Table1" objDataAdapter.Fill(objDataSet, "Table1") objCommand.CommandText = "Table2"

Write a program of console statements - c# program, Write a program of cons...

Write a program of console statements - C# Program I am unable to make out the use of console statements in C# language. Can anyone suggest me any example for this.

Difference between delete table and truncate table commands, What is the di...

What is the difference between DELETE TABLE and TRUNCATE TABLE commands? Following are differences between delete & truncate commands:- 1)The DELETE TABLE syntax logs the de

Explain different types of xml application programming, Explain different t...

Explain different types of XML Application Programming Interface (API). The following are two main parts of XML parsers: Tree-based API - Compiles an XML document into a tre

Need help to answer questions of vb.net, Project Description: Need help ...

Project Description: Need help to answer questions of VB.NET Skills required are .NET, Software Development, C# Programming, Visual Basic, Windows Desktop

Content page creation, NopCommerce v3.10 - Content Page Creation, Product I...

NopCommerce v3.10 - Content Page Creation, Product Import and Site Customization Project Description: I have an existing website with about 800 products and we could like to

Types of remote object creation mode in .net, Different types of remote obj...

Different types of remote object creation mode in .NET There are 2 different ways in which the object can be created using Remoting :- 1)SAO (Server Activated Objects) also

Decision making and branching - c# program, Decision Making and Branching -...

Decision Making and Branching - C# Program Need Programming help on Decision Making and Branching in C#.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd