How to restrict access to Files/Folders

  • Thread starter Thread starter Khaled Hussein
  • Start date Start date
K

Khaled Hussein

Hello,
I would like to know how can I restrict access for specific files and
folders for specific running processes.
For example:
Lets say we have three running process P1, P2, and P3, I want to know
how can I restrict P2 from accessing a specific folder ex. C:\Test\ and
allow P1 and P3 to access it.
 
I do not think you can. I think ACLs only apply to people, not processes.
You can, however, run a process in something like a scheduled task or a
windows service in which you can have the process run in some context other
then the person logged in (or I think you can do this programmatically).
 
You will need to have these process run under a specific user acount, then
you can moderfiy the ACL for the directories and files needed.
 
Back
Top