Home > DeveloperSection > Interviews > What is basic transport and message level security in WCF?

Posted on    April-28-2011 1:24 AM

 1 Answer(s)
  2146  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Posted on    April-28-2011 12:00 AM

On a broader basis WCF supports two kinds of security, transport level and message level security. Transport means the medium on which WCF data travels while message means the actual data packets sent by WCF.
Transport medium can be protocols like TCP, HTTP, MSMQ etc. These transport mediums by themself provide security features like HTTP can have SSL security (HTTPS). WCF has the capability of leveraging underlying transport security features on WCF service calls.
Message level security is provided in the data itself using WS-Security. In other words it's independent of the transport protocol. Some examples of message level security are messages encrypted using encryption algorithm, messages encrypted using X509 certificate etc, messages protected using username etc.

Don't want to miss updates? Please click the below button!

Follow MindStick