Use the System.Security.AccessControl.SemaphoreRights enumeration to specify access control rights when you create System.Security.AccessControl.SemaphoreSecurity objects. To apply access rights to a named system semaphore, use System.Security.AccessControl.SemaphoreSecurity objects with the System.Threading.Semaphore.#ctor(int, int, string, Boolean@, SemaphoreSecurity) constructor and the System.Threading.Semaphore.SetAccessControl(SemaphoreSecurity) method.
For the numeric values of the underlying Windows access rights, see tp://go.microsoft.com/fwlink/p/?LinkId=243073 in the MSDN Library.
Security on synchronization objects is not supported for Windows 98 or Windows Millennium Edition.