3.2.4.3 Updating Local Private Queue Security

The MSMQ application MUST supply a format name for a local private queue for which the security configuration is to be updated, a new SECURITY_DESCRIPTOR for the queue, and a SECURITY_DESCRIPTOR value indicating which portions of the SECURITY_DESCRIPTOR are to be applied to the queue. SECURITY_DESCRIPTOR is specified in [MS-DTYP] section 2.4.6 and SECURITY_INFORMATION is specified in [MS-MQMQ] section 2.2.3.

  • The given format name MUST be of the "private" or "direct" variety, as specified in [MS-MQMQ] section 2.1.

  • The given SECURITY_DESCRIPTOR MUST be in self-relative form.

  • The client MUST call R_QMSetObjectSecurityInternal, supplying the following parameter values:

    • A pointer to an OBJECT_FORMAT structure containing the format name of the queue, as specified in section 3.1.4.6.

    • The SecurityInformation, SDSize, and pSecurityDescriptor parameters MUST be supplied as specified in section 3.1.4.6.