In a case where a website allows user comments, which security measure is vital to prevent XSS through user inputs?

  • CSRF protection
  • Database normalization
  • HTTPS implementation
  • Input sanitization
To prevent XSS through user inputs, it's crucial to implement input sanitization, which involves cleaning and validating user input to mitigate potential script injection.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *