<security> of <netMsmqBinding>

Defines the security settings for a MSMQ binding. It specifies whether transport or SOAP security is enabled and, if so, what authentication mode and protection levels are in use.

Schema Hierarchy

<system.serviceModel>
  <bindings>
    <netMsmqBinding>
      <binding>
        <security> of <netMsmqBinding>

Syntax

<security mode="None/Transport/Message/Both">
   <transport msmqAuthenticationMode="None/WindowsDomain/Certificate"
      msmqEncryptionAlgorithm="RC4Stream/AES"
      msmqProtectionLevel="None/Sign/EncryptAndSign"
      msmqSecureHashAlgorithm="MD5/SHA1/SHA256/SHA512" />
      <message
      algorithmSuite="Basic128/Basic192/Basic256/Basic128Rsa15/Basic256Rsa15/TripleDes/TripleDesRsa15/Basic128Sha256/Basic192Sha256/TripleDesSha256/Basic128Sha256Rsa15/Basic192Sha256Rsa15/Basic256Sha256Rsa15/TripleDesSha256Rsa15"
      clientCredentialType="None/Windows/UserName/Certificate/CardSpace"/>
</security>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

mode

Specifies the type of security that controls integrity, confidentiality and authentication. Valid values include the following:

  • None: This disables security.

  • Transport: Protection and authentication are offered by the transport. This applies to the message security between the two queue managers. There is no security offered between the application and queue manager. Existing Msmq applications are functionally equivalent with this type of security mode.

  • Message: Specifies end-end application security. There is no security offered at the transport layer. This is similar to the security offered by other standard bindings.

  • Both: Offers security at both the transport and SOAP messaging layer. The same credential is required at both the levels.

The default value is Transport. This attribute is of type NetMsmqSecurityMode.

Child Elements

Element Description

<message> of <netMsmqBinding>

Defines the SOAP message security settings. This element is of type MessageSecurityOverMsmqElement.

<transport> of <netMsmqBinding>

Defines the security settings for the MSMQ transport. This element is of type MsmqTransportSecurityElement.

Parent Elements

Element Description

binding

The binding element of the <netMsmqBinding>

See Also

Reference

NetMsmqSecurityElement
Security
Security
NetMsmqSecurity

Concepts

<binding>

Other Resources

Securing Services and Clients
Windows Communication Foundation Bindings
Configuring System-Provided Bindings
Using Bindings to Configure Services and Clients
Queues in WCF


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05