Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

487
Views
How to run as administrator in ASP.NET Core 3.1 like impersonation in ASP.NET

I used to impersonate in ASP.NET to run the web application as system administrator to let the application work with system methods like creating subdomains by command below in web.config:

<identity impersonate="true" userName="administrator" password="MyPassword" />

Since I switched the app to the ASP.NET Core 3.1 and seems it doesn't support impersonate command as in ASP.NET classic, how I can do this? I have read that the way is to give NETWORK USER permission to iis settings folder to let the app edit the iis settings - and it worked perfectly - but I am so worried about security because now each website in this server can do the same WITHOUT knowing system administrator account and can change the iis settings and remove the other websites easily.

let me know if any other solution to give this specific website the permission like this not all the websites.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!