<

Question 30


70-486 Skills Measured >> 5.5 Design and Implement Security >>

Question

You are developing an ASP.NET MVC application. The application must allow users to enter JavaScript in a feedback text box only.

You need to disable request validation. What should you do?

  • A. Apply and set the CausesClientSideValidation attribute on the text box to FALSE.
  • B. Apply and set the ValidateInput attribute on the text box to FALSE.
  • C. Use the HttpRequest.Unvalidated property to read the unvalidated form value.
  • D. Use the HttpRequest.Form property to read the unvalidated form value.

Answer:

C