70-513 · Question #48
You develop a Windows Communication Foundation (WCF) service that uses basic authentication for client credentials. This service is currently configured to use message security. The service is…
The correct answer is B. Use the transportWithMessageCredential security mode and specify Basic for the transport. See the full explanation below for the reasoning.
Question
You develop a Windows Communication Foundation (WCF) service that uses basic authentication for client credentials. This service is currently configured to use message security. The service is hosted on a server in workgroup mode. Users report that their passwords are stolen when they use public computers. You need to ensure that messages are secure and users are authenticated. You prevent the service from being called over HTTP through Microsoft Internet Information Services (IIS) configuration. What should you do next?
Options
- AUse the transport security mode and specify None for transport client credential type.
- BUse the transportWithMessageCredential security mode and specify Basic for the transport
- CUse the message security mode and specify Basic for the transport client credential type.
- DUse the transportWithMessageCredential security mode and specify None for the transport
How the community answered
(22 responses)- A5% (1)
- B73% (16)
- C18% (4)
- D5% (1)
Community Discussion
No community discussion yet for this question.