0

Is it possible to create a custom Access Token to create Access Control Entries for a Discretionary Access Control List that will allow only certain processes to access a Global Mutex Object if they have the matching Access Token?

This is in Windows using C++.

1 Answer 1

0

DACL contains SID's representing users or groups. So you can change access rights for certain users or groups not for processes. This means that if you change DACL of an object, processes having matching SID's will be affected.

You can create a Security Descriptor and pass it to CreateMutex() or change its DACL after the mutex is created using e.g.

SetSecurityInfo(Mutex, SE_KERNEL_OBJECT, DACL_SECURITY_INFORMATION, NULL, NULL, pDACL, NULL);
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.