How do you impersonate the authenticated user in ASP.NET?

How do you impersonate the authenticated user in ASP.NET?

Impersonation means delegating one user identity to another user. In ASP.NET, the anonymous users impersonate the ASPNET user account by default. You can use <identity> element of web.config file to impersonate user.

Example:
<identity impersonate="true"/>

What is impersonation in ASP.NET?

Impersonation is when a user accesses a resource without revealing his identity.

The two types of accounts that are set up using IIS make the task of being identifiable very difficult. These are IUSR_machinename and IWAM_machinename and they get added on a web server automatically. When IIS receives a request for a web page or other resource that has permission for anonymous access, IIS treats the IUSR_machinename/ IWAM_machinename account (depending upon the type of the resource) as the user's account, to access the resources. This obviates the need to authenticate a user.
Secured communication in ASP.NET
ASP.NET Secured communication - ASP.NET provides secured communication using Secure Sockets Layer. .
Globalization and Localization in ASP.NET
ASP.NET Globalization and Localization - Localization is the process of adapting a software application for a specific locale.....
Globalization approaches possible in ASP.NET
Globalization approaches possible in ASP.NET - You can follow many approaches to have globalized application....
Post your comment