Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to enable impersonation?

enable impersonation
0
Posted

How to enable impersonation?

0

Impersonation goes hand-in-hand with Windows authentication, so you’ll find the next configuration snippet in the web.config file when using impersonation: If you don’t wont to impersonate as the logged on user, but as a fixed user, you can put the following configuration in the web.config file: where you, of course, replace the userName and password attributes according the ones you want to use. One important remark should be kept in mind (although it should not be needed anymore, since it only applies to ASP.NET v1.0): the ASPNET account needs he “Act as part of the OS” privilege in the policy of the system to do impersonation with a fixed identity. This is not the fact in ASP.NET v1.1 (the IIS process handles the impersonation logon). However, it’s no a good idea to put the credentials in clear text in the config file, but I’ll cover this problem in a furth

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.