WCF Services- Bydefault Security for Bindings

This is very important thing regarding the security in WCF services.


Security in Windows Communication Foundation i.e. WCF can be divided at two levels-
  1. Transport Level Security
  2. Message Level Security

Some bindings are there with bydefault security as follows-


1. BasicHttpBinding

  • No Security
  • Interopable with ASMX Web Services

2. WsHttpBinding

  • Message Level Security
  • SOAP Messages are encrypted

3. NetTcpBinding

  • Transport Level Security
  • Packets are encrypted but not the messages (SOAP messages)

1 comment:

  1. I understand there are different bindings in wcf. In your blog/ post that is well explained.
    by reading this post, now I come to know about default securities in wcf....which is most common interview question. :)

    ReplyDelete

What are different Transaction Isolation Levels in WCF?

Here, the [Service Behavior] attribute specifies the Transaction Isolation level property.  Transaction Isolation specifies the degr...