How can this be ensured?

Exhibit:
[ServiceContract]
public interface IService
{
[OperationContract]
string PassGuide1();
[OperationContract]
string PassGuide2();
}
There is a WCF (Windows Communication Foundation) client PassGuideClient.
The service contract of PassGuideClient is being displayed in the exhibit.
There are two operations PassGuide1 and PassGuide2.

Calls to PassGuide1 and PassGuide2 from PassGuideClient must not be unencrypted.
How can this be ensured? Select all that apply.

Exhibit:
[ServiceContract]
public interface IService
{
[OperationContract]
string PassGuide1();
[OperationContract]
string PassGuide2();
}
There is a WCF (Windows Communication Foundation) client PassGuideClient.
The service contract of PassGuideClient is being displayed in the exhibit.
There are two operations PassGuide1 and PassGuide2.

Calls to PassGuide1 and PassGuide2 from PassGuideClient must not be unencrypted.
How can this be ensured? Select all that apply.

A.
For PassGuide1 add a SecurityCriticalAttribute

B.
For PassGuide2 add a SecunitySafeCriticalAttribute.

C.
For PassGuide2 add a SecurityCriticalAttribute

D.
For PassGuide1 add a SecunitySafeCriticalAttribute.

E.
Replace [OperationContract] with [OperationContract ProtectionLevel=Sign]

F.
Replace [OperationContract] with [OperationContract ProtectionLevel=EncryptAndSign]

G.
Replace [OperationContract] with [OperationContract ProtectionLevel=Encrypt]

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *