找考题网-背景图
单项选择题

A.the EnableEventValidation attributeB.the ResponseEnco……

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

热门试题