?
Solved

Windows Service security issue

Posted on 2008-06-09
5
Medium Priority
?
329 Views
Last Modified: 2013-12-17
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?
0
Comment
Question by:5281
  • 3
5 Comments
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 21744625
Yes, it is possible. Are you putting the service on a server or client? The Domain Controllers have the local user accounts disabled.
0
 
LVL 41

Accepted Solution

by:
graye earned 1800 total points
ID: 21744662
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.
0
 
LVL 59

Assisted Solution

by:Darius Ghassem
Darius Ghassem earned 200 total points
ID: 21744706
Miss read the question thought you were going to add another Local user account. Either way it would work.  
0
 

Author Comment

by:5281
ID: 21745941
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?
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 21745985
Yes, the file will be accessed under the local System account which gives the service access to the file.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month15 days, 12 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question