Answer:
Input validation and output encoding contribute to preventing XSS attacks by validating and sanitizing user input to ensure it does not contain malicious scripts and encoding output to prevent script execution.
Input validation and output encoding contribute to preventing XSS attacks by validating and sanitizing user input to ensure it does not contain malicious scripts and encoding output to prevent script execution.
You may be interested in:
Web Security MCQs