Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I have a windows service that watches local file system and edits images. It runs under Local Admin account. Is that risky? Machine is not online. But accessible by a domain that is.

What I have tried:

I tried running it as Local Admin Account. The IT department objected.
Posted
Updated 1-Aug-16 6:08am

The IT department does not like because local administration permissions allow your service to do anything, and they probably will not look at the code.

If your service has a single point of failure, the machine can be compromised.

What is the real need to have a windows service with admin rights?
 
Share this answer
 
YES, it's bad practice. Normally you would create a user account for the service to run under and modify the account appropriately for your services requirements and give it only the minimum permissions it needs to do its job.

This cuts down on the attack surface of your service and cuts down on the security risk should your service become compromised.

Your IT department is correct in denying you this access.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900