J
Jim in Arizona
I made up a service that will move files from a folder on the machine that
the service is running to a share on another machine. I use a try/catch
incase an error is thrown and write that error to the application log.
I have tried running the service first under LocalSystem and when that
didn't work, under NetworkService. In each case, I'm getting an access
denied (Access to the path is Denied).
I tried different accounts with little luck until I used NETWORK (not
NETWORK SERVICE). Once I used that account, the file move was able to take
place. I don't know what kind of security risk this entails.
Can someone tell me the right way to go about this; which security principal
to use, what accounts to use for the Share and Security ACLs? Is there a
better way to go about this?
TIA,
Jim
the service is running to a share on another machine. I use a try/catch
incase an error is thrown and write that error to the application log.
I have tried running the service first under LocalSystem and when that
didn't work, under NetworkService. In each case, I'm getting an access
denied (Access to the path is Denied).
I tried different accounts with little luck until I used NETWORK (not
NETWORK SERVICE). Once I used that account, the file move was able to take
place. I don't know what kind of security risk this entails.
Can someone tell me the right way to go about this; which security principal
to use, what accounts to use for the Share and Security ACLs? Is there a
better way to go about this?
TIA,
Jim