What is impersonation in ASP.NET

Q

What is impersonation in ASP.NET ?

✍: Guest

A

By default, ASP.NET executes in the security context of a restricted user account on the local machine. Sometimes you need to access network resources such as a file on a shared drive, which requires additional permissions. One way to overcome this restriction is to use impersonation. With impersonation, ASP.NET can execute the request using the identity of the client who is making the request, or ASP.NET can impersonate a specific account you specify in web.config.

2007-10-24, 5040👍, 0💬