Windows Service security issue

Is it possible for Windows Service to access/read a file on network without using any domain user account?  For example, put the file is on the same server of Windows Service and run Service from Local System account.  Is it possible?
Who is Participating?
grayeConnect With a Mentor Commented:
To clarify.... if you put the files on the same server, then you wouldn't actually be using the network to get to the files.   For example, "\\SomeServer\SomeShare\SomeFile" might translate to "D:\SomeDirectory" when viewed from the server.  In that case, the LocalSystem account would have no problem getting to the "real" file location.
Darius GhassemCommented:
Yes, it is possible. Are you putting the service on a server or client? The Domain Controllers have the local user accounts disabled.
Darius GhassemConnect With a Mentor Commented:
Miss read the question thought you were going to add another Local user account. Either way it would work.  
5281Author Commented:
I suddenly thought about another issue.  If this file has limited user access, when system administrator install this Windows Service under LocalSystem account, the application can still read the file, right?
Darius GhassemCommented:
Yes, the file will be accessed under the local System account which gives the service access to the file.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.