what is impersonation in ASP.NET?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how viewstate is being formed?

714


Where is the view state data stored?

743


What is a Cookie? Where is it used in ASP.NET?

815


How does the iis work?

750


Explain the main differences between asp and asp.net?

708






Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal

1587


how to transfer the file from client to server using asp.net

796


What is the behavior of a Web browser when it receives an invalid element?

822


what is DLL Hell and how it is solved in .NET? please explain clearly??

2083


How is application management and maintenance improved in asp.net 2.0?

723


To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?

790


What is the maximum amount of memory any single process on windows can address?

736


14. What are your Future Plans for Swatz Oils GROUP U.K?

1945


Which type of state management is provided by Query String in ASP.NET?

764


Differentiate between authentication and authorization.

740