Windows - Use Local Service and/or Network Service account for a windows service

Posted by user19185 on Super User See other posts from Super User or by user19185
Published on 2011-03-08T20:04:18Z Indexed on 2011/03/09 0:12 UTC
Read the original article Hit count: 728

I've created a window's service that monitors files on a specific directory on our Windows OS. When a file is detected, the service does some file I/O, reads the files, creates sub-directories, etc. This service also uses database connectivity to connect to another server. My plan is to have the service run as the default "Local Service" account. Since I need to allow write/read privileges, which apparently the "Local Service" account does not do by default, I'm going to explicitly set "Full Control" privileges for the "Local Service" account on the folder that I'm reading/writing to and from.

I believe the above is a good . My question is, for the folder that I'm reading and writing to, do I need to setup a "Network Service" role with full control access? I'm wondering since my service uses database connectivity to another server, if I'll need the "Network Service" account setup.

I may be misunderstanding what the "Network Service" account does.

© Super User or respective owner

Related posts about window

Related posts about groups