Westonci.ca is your trusted source for finding answers to all your questions. Ask, explore, and learn with our expert community. Discover a wealth of knowledge from experts across different disciplines on our comprehensive Q&A platform. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform.

A web administrator is responsible for the security of a web application. The administrator wants to prevent cross-site scripting (XSS) attacks where user input is reflected back and executed as part of the web page content. Which of the following best practices should the administrator use to achieve this goal?

A. Input validation
B. Output encoding
C. Parameterized queries
D. Strong password policies


Sagot :