what is impersonation in ASP.NET?

Answers were Sorted based on User's Feedback



what is impersonation in ASP.NET?..

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

what is impersonation in ASP.NET?..

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

what is impersonation in ASP.NET?..

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

what is impersonation in ASP.NET?..

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

what is impersonation in ASP.NET?..

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

what is impersonation in ASP.NET?..

Answer / rahul

Impersonation is nothing but identity of a client.

Is This Answer Correct ?    12 Yes 12 No

what is impersonation in ASP.NET?..

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

Post New Answer

More ASP.NET Interview Questions

What does the following SQL statement return, assuming that all tables and column names are correct? SELECT FirstName, StreetAddress FROM Employees JOIN AddressBook ON Employees.EmpID = AddressBook.EmpID a) Nothing, the JOIN syntax is wrong. b) All the records form the Employees table, and only the matching ones form the StreetAddress table. c) All the records from the StreetAddress table and only the matching records form the Employees table. d) Only the matching records from the two tables.

4 Answers   Syntax Softtech,


What is JIT and how is works ?

1 Answers   Patni,


How does session work?

0 Answers  


Is viewstate secure?

0 Answers  


Explain the difference between asp.net mvc and asp.net webforms

0 Answers  






What is ISAPI?

2 Answers   IBM,


What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?

0 Answers  


What is an iHTTPModule, and explain its implementation with its limitations?

1 Answers   Siebel,


What are validator? How do you disable them?

0 Answers  


What is Web Application?

2 Answers   HCL,


How to display Alert in ASP.NET

0 Answers   HCL,


what is the challenging situation you faced in your career?

3 Answers   Calsoft, HP, Satyam, Wipro,


Categories