MSDN > 論壇首頁 > Windows Communication Foundation > WCF webhttp binding and security
發問發問
 

已答覆WCF webhttp binding and security

  • Saturday, 4 July, 2009 1:32dsoffer 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Hello,

    I currently host a WCF service with webhttp binding so i can use it to construct an application that needs the services. Sometimes I am transfering sensative information that I would want to protect from a middleman (packet sniffer or whatnot) from being able to retreive and actually read the message content that was sent back or to the service. What is the best way/security options that I can use to achieve this?

    Thanks

解答

  • Monday, 6 July, 2009 17:59Amit Sharma RMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆

    you cannot use wsHttpBinding like webHttpBinding.  Message level security involves SOAP headers which are not available on WebHttpBinding (MessageVersion.None).

    I believe that webHttpBinding with Transport level security should be enough for you, with what you are trying to achieve.


    Amit Sharma

所有回覆