Unsure how to set IIS Application Pool Identity to non-admin user or semi-admin user
So I have an ASP.NET project that I am working on where the web page will be hosted inside of IIS. For the most part, the page just parses a web.config file to pull all of the appropriate settings and configuration values. However, there are values that I need to read that are inside of IIS itself. And unfortunately, in order to do so I have to have the Identity running the Application Pool be an administrator to the server itself. I haven't found a way to create a user account that I can use to read/write IIS settings without having the identity running the Application Pool be an administrator to the entire server.
The namespace I am using is the Microsoft.Web.Administration namespace for scope of help.
Thanks!
0 Replies