试题详情
单项选择题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?()

A、the EnableEventValidation attribute

B、the ResponseEncoding attribute

C、the ValidateRequest attribute

D、the Strict attribute

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题