Which of the following is the BEST method to use when preventing a cross-site scripting attack on a Human Resource system?

A. Require all data be filtered through a web application firewall.
B. Restrict permitted HTML encoding to a limited subset of tags and attributes.
C. Provide user education on the threat of cross-site scripting.
D. Input validation upon arrival at the server.


Answer: D. Input validation upon arrival at the server.

Computer Science & Information Technology

You might also like to view...

Use ___________ positioning to configure the location of an element to remain the same and to not move even when the web page is scrolled within the browser viewport.

a. absolute b. static c. relative d. fixed

Computer Science & Information Technology

Which of the following helps to achieve the goal of standard operation and consistency?

A) Use the same icons for all programs regardless of their function. B) Cancel a transaction in a consistent way. C) Change the background color as the user moves from screen to screen in a consistent manner. D) When using different keys to obtain help from screen to screen within a system, provide the location of the help key message in a consistent line on the screen.

Computer Science & Information Technology

An organization chart is an example of what Word feature?

A) SmartArt B) WordArt C) Symbols D) Charts

Computer Science & Information Technology

If a product is tested 100 times and the rate at which it fails is recorded on a scale of 1 to 10, then the average of all the product's failure rates on the scale could be useful. This is an example of ________ data

A) nominal B) ordinal C) interval D) ratio

Computer Science & Information Technology