Can you explain in brief how the ASP.NET authentication process works
Can you explain in brief how the ASP.NET authentication process works?
ASP.NET does not run by itself, it runs inside the process of IIS. So there are two
authentication layers which exist in ASP.NET system. First authentication happens at
the IIS level and then at the ASP.NET level depending on the WEB.CONFIG file.
Below is how the whole process works:-
¡̀ IIS first checks to make sure the incoming request comes from an IP address that is allowed access to the domain. If not it denies the request.
¡̀ Next IIS performs its own user authentication if it is configured to do so. By default IIS allows anonymous access, so requests are automatically authenticated, but you can change this default on a per ¨C application basis with in IIS.
¡̀ If the request is passed to ASP.net with an authenticated user, ASP.net checks to see whether 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.
¡̀ Finally the identity from step 3 is used to request resources from the operating system. If ASP.net authentication can obtain all the necessary resources it grants the users request otherwise it is denied. Resources can include much more than just the ASP.net page itself you can also use .Net¡¯s code accesssecurity features to extend this authorization step to disk files, Registry keys and other resources.
2007-10-24, 5777👍, 0💬
What is CodeDom? “CodeDom” is an object model which represents actually a source code. It is designe...
An application needs to load a library before it starts to run, how to code? One option is to use a ...
How do we create DCOM object in VB6? Using the CreateObject method you can create a DCOM object. You...
What's the difference between J2SDK 1.5 and J2SDK 5.0? There is no difference, Sun Microsystems just...
What is the result of using Option Explicit? When writing your C program, you can include files in t...