nerdexam
Microsoft

70-515 · Question #46

You are testing an existing ASP.NET page. The page includes a text box. You are able to execute malicious JavaScript code by typing it in the text box and submitting. You need to configure the page…

Sign in or unlock 70-515 to reveal the answer and full explanation for question #46. The question stem and answer options stay visible for context.

Question

You are testing an existing ASP.NET page. The page includes a text box. You are able to execute malicious JavaScript code by typing it in the text box and submitting. You need to configure the page to prevent JavaScript code from being submitted by the text box. In the @ Page directive, which attribute should you set to true?

Options

  • Athe EnableEventValidation attribute
  • Bthe ResponseEncoding attribute
  • Cthe ValidateRequest attribute
  • Dthe Strict attribute

Unlock 70-515 to see the answer

You've previewed enough free 70-515 questions. Unlock 70-515 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-515 Practice