what is impersonation in ASP.NET?
Answers were Sorted based on User's Feedback
Answer / sachin
impersonation is the process of assigning a user account to
an unknown user.By default, the anonymous access account is
named IUSER_machinename. This account can be use to control
anonymous users' access to resources on the server.
This mechanism allows a server process to run using the
security credentials of the client. When the server is
impersonating the client, any operations performed by the
server are performed using the client's credentials.
Impersonation does not allow the server to access remote
resources on behalf of the client.
| Is This Answer Correct ? | 34 Yes | 6 No |
Answer / srikanth
Everthing that asp.net does is through the windows account
that is defined in machine .config which is aspnet.
Now if you want your application alone to run in a
different account, you can change this identity to be
changed temporarily so that the asp.net will run in another
account(provided it is a windows account)
| Is This Answer Correct ? | 34 Yes | 13 No |
Answer / r.suresh kumar
By default, ASP.NET executes in windows account. Sometimes
you need to access data from 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.
| Is This Answer Correct ? | 21 Yes | 5 No |
Answer / prince
you can enable the impersonation by adding below entry in
your application config file.
<identity impersonate="true"
userName="domain\user"
password="password" />
| Is This Answer Correct ? | 17 Yes | 8 No |
Answer / murugavel
Impersonation is used to access the file servers in a
secured way. Client can access it because of this.
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / rahul
Impersonation is nothing but identity of a client.
| Is This Answer Correct ? | 12 Yes | 12 No |
Answer / akhil
It is disabled by default .
It allows specifying that page request should be run under the identity of a user who is making the request .
Example= Run as administrator .
| Is This Answer Correct ? | 0 Yes | 0 No |
Why we are using mvc instead of asp.net? : Asp.Net MVC
I have an external link in my application say www.xyztest.com. Today this site works on http protocal. Tommorow it may run on https. So i cant hardcore the protocal in the site. When a user clicks on the link how can i know if the external site works on http or https and takes him to that place?
What is indexing on asp.net?
Can you create an app domain ?
a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?
asp.net page is a object or not?
What is redirectpermanent in asp.net?
Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc
Elaborate differentiation between ViewState and SessionState?
How do you initiate validation on the server manually? What are two situations when you might you want to do that?
Windows Authentication (via Active Directory) and SQL Server authentication (via Microsoft SQL Server username and passwords). Which one is trusted and which one is untrusted?
What should you do is you want to remove an existing component but would like to make some funtionalities?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)