Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to figure out how to adjust the user running the Application Pool be minimum security necessary #18

Open
rlwakefield opened this issue Jun 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@rlwakefield
Copy link
Owner

Right now, the user account needs to have administrative rights to read/write privileges to the website configuration through the WebAdministration module. Need to see what I can do about removing the need for full administrative rights and make it more minimal required rights.

@rlwakefield rlwakefield added bug Something isn't working enhancement New feature or request labels Jun 5, 2024
@rlwakefield
Copy link
Owner Author

After doing a lot more research on this, I don't know if this can be done cleanly. The reason I say this is because when using the Microsoft.Web.Administration namespace, in order to interact with the w3wp.exe process and all of the Applications, Application Pools, etc., the user has to be an administrator.

One idea that I came up with would be to offload all of the stuff that would be using the Microsoft.Web.Administration code to a completely separate helper executable. However, this would require me to add some sort of admin user credentials (in an encrypted fashion of course) to some file so that when I go to run the executable, that it will be run as the administrative user. While this would remove the need for the Application Pool to be running as an Administrative user, it won't remove the need for that administrative user all together. This will be a requirement no matter what.

The other thing that will need to be handled is not only running the new/second helper utility, but also doing the same thing when running the first helper utility.

@rlwakefield rlwakefield removed the bug Something isn't working label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant