which attribute should you set to true?

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?

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



Leave a Reply 0

Your email address will not be published. Required fields are marked *