Using a security descriptor's DACL to only allow certain processes/applications to access Mutex Object

438 Views Asked by At

I am creating a Security Descriptor for creating a mutex with CreateMutex(). It turns out that you cannot use the default descriptor that comes with the default discretionary access control list (DACL) when the creating process is within a service and the accessing process is from the user.

I do not want to use the NULL DACL because that has no security and is never recommended. What I would like to be able to do is create or use the DACL in a way that allows only specified processes access. Is that possible?

Is it possible for a DACL to have one access control entry that allows a specific process? Maybe using some sort of process ID or a constant?

0

There are 0 best solutions below