How to Prevent Cross-Site Scripting (XSS) Attacks