Connector Application Security

The MSMQ connector server is not available with the Windows NT® 4.0 Option Pack.

Security operations can be performed by the connector application or they can be passed on to the foreign computer where the destination queue is located.

Applications that pass security operations to the foreign queue are referred to as transparent applications. As a transparent application, the connector application translates the message properties so they can be understood by the foreign computer, then passes the translated message properties on to their destination. In this case, the foreign computer must interpret the message properties and perform any required actions.

Applications that perform security operations are referred to as non-transparent applications. As a non-transparent application, an application receives messages from either MSMQ or the other message queue system, interprets the message's properties and performs any required actions. Then the application sends the message on with the appropriate message properties. In this case, the foreign queue must be able to trust the connector application to perform the correct actions.

Note Tasks for non-transparent applications are also relevant to message systems that use a transparent connector applications. Even though the transparent application does not perform them at the server, these security tasks still must be done when the message reaches the foreign queue.

When translating message properties, transparent and non-transparent connector applications must use the following message properties as described below.

Property Description
PROPID_M_ADMIN_QUEUE Part of signature.
PROPID_M_APPSPECIFIC Part of signature.
PROPID_M_BODY Part of signature.
PROPID_M_CORRELATIONID Part of signature.
PROPID_M_HASH ALG Algorithm used to create signature.
PROPID_M_LABEL Part of signature.
PROPID_M_PROV_NAME

PROPID_M_PROV_TYPE

Cryptographic provider needed to verify signature.
PROPID_M_RESP_QUEUE Part of signature.
PROPID_M_SENDER_CERT Includes public key.
PROPID_M_SIGNATURE Signature of sender.

In the preceding list, several properties are used when creating the signature of the sender. When a transparent connector application translates these properties (in particular the administration and response queue properties) to their new values, it must include both the translated and original values when it passes the message on to its destination. The foreign application will need the original values to authenticate the signature when the message arrives.

Providing the necessary information is much more difficult for messages being sent to an MSMQ queue than messages sent to a foreign queue. In this case, the foreign application must retrieve an MSMQ-representation of the signature properties before it creates the signature.


© 1997 by Microsoft Corporation. All rights reserved.