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

0

6

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?

Insulting answered 22/2, 2016 at 20:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.