Get reliable answers to your questions at Westonci.ca, where our knowledgeable community is always ready to help. Get quick and reliable solutions to your questions from a community of experienced professionals on our platform. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A 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