Are WCF Services encrypted automatically if they go over SSL?

Posted by michael on Stack Overflow See other posts from Stack Overflow or by michael
Published on 2011-06-23T23:51:21Z Indexed on 2011/06/24 0:22 UTC
Read the original article Hit count: 189

Filed under:
|
|
|
|

Basically, if I have a plain WCF Service over HTTPS is it automatically secure?

[ServiceContract]
public interface ICalc
{
    [OperationContract] int add(int a, int b);
}

public class Calculator : ICalc
{
    public int add(int a, int b) { return a + b; }
}

I figure the actual SOAP message isn't encrypted here, but is it still secure if I use https? Basically, if I use a basichttpbinding with no security settings in my config over https://www.myserver.com/services/Calc.svc is that secure?

© Stack Overflow or respective owner

Related posts about wcf

Related posts about security