Is Transport Level Security Necessary When Using Message Level Security in WCF?

前端 未结 3 1150
说谎
说谎 2020-12-05 16:32

I\'m still in the process of trying to better understand WCF security.

One question that I can\'t seem to get a grip on is… if message level security is used, then

3条回答
  •  误落风尘
    2020-12-05 16:55

    HTTPS (SSL, TLS) offer point-to-point secuirty. I already explained what does it mean in one of my previous answers.

    Term Security in WCF has 4 components:

    • Authentication - credentials passed to server to identify client
    • Authorization - selectively define which operations can be executed by authenticated client
    • Confidentality - encryption - only expected receiver is able to decrypt the message and read confidental data
    • Integrity - signing - expected receiver can validate that message is from declared client and it was not modified during transmission

    Authorization is always part of WCF application itself. Authentication is part of WCF application or hosting system - transport protocol can be only used to transport credentials, not to validate them. Confidentality and Integrity is responsibility of transport protocol (transport security) or WCF application (message security). So if you are using encryption and signing on the message level you don't need transport security.

提交回复
热议问题