News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Advertisement

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;
[DataContract]
public class Order
{
[DataMember]
public string CardHolderName { get; set;}
[DataMember]
public string CreditCardNumber { get; set; }
}

You have the following requirements
-Enable the transmission of the contents of Order from the clients to the service.
-Ensure that the contents of CreditCardNumber are not sent across the network in clear text.
-Ensure that the contents of CreditCardNumber are accessible by the service to process the order.
You need to implement the service to meet these requirements. What should you do?

  1. Add a DataProtectionPermission attribute to the CreditCardNumber property and set the ProtectData property to true.

  2. Convert the DataContract to a MessageContract and set the ProtectionLevel property to SignAndEncrypt

  3. Change the data type of CreditCardNumber from string to SecureString

  4. Implement the CreditCardNumber property getter and setter In the setter, run the value of the CreditCardNumber through the MD5CryptoServiceProvider class TransformBlock method

Answer: Answer is b
comments powered by Disqus
Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;