다음을 통해 공유


<security> of <netMsmqBinding>

Defines the security settings for a binding.

<system.serviceModel>

  <bindings>

    <netMsmqBinding>

      <binding>

        <security> of <netMsmqBinding>

                                    
                                    <netMsmqBinding>
                                
                                    
                                        <binding>
                                
                                    
                                        <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="Aes128/Aes192/Aes256/Rsa15Aes128/ Rsa15Aes256/TripleDes"
                                
                                    
                                                    
                                    
                                                defaultProtectionLevel="None/Sign/EncryptAndSign"
                                
                                    
                                                clientCredentialType="None/Windows/UserName/Certificate/InfoCard "/>
                                
                                    
                                        
                                    
                                    
                                
                                    
                                        </security>
                                
                                    
                                       </binding>
                                
                                    
                                    </netMsmqBinding>
                                

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

transport

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

message

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

Parent Elements

Element Description

binding

The binding element of the <netMsmqBinding>

See Also

Reference

NetMsmqSecurityElement

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.