i am new in wcf and looking for basic help. i heard that security can be give in wcf at two level. that is transport & message level.
i like to know what does it means that transport level security & message level security. what is the difference between transport level security & message level security and when which one is preferred.
how do i understand that security given at which level?
i got two config entry
<bindings>
<wsHttpBinding>
<binding name="TransportSecurity">
<security mode="Transport">
<transport clientCredentialType="None"/>
</security>
</binding>
</wsHttpBinding>
</bindings>
<bindings>
<wsHttpBinding>
<binding name="wsHttpEndpointBinding">
<security>
<message clientCredentialType="Certificate" />
</security>
</binding>
</wsHttpBinding>
</bindings>
just see the above two config xml and tell me why there is no word used like message but there is word use called transport ?
sometime mode is used for security tag and some time nothing has been used for security tag. mode can be message instead of transport?
please help with discussion. thanks