Describe the role of Subresource Integrity (SRI) in preventing XSS attacks.

  • Encrypts sensitive user information
  • Enforces Same-Origin Policy
  • Ensures secure transmission of data
  • Validates and verifies external scripts
Subresource Integrity (SRI) is a security feature that helps prevent XSS attacks by ensuring the integrity of external scripts, validating and verifying that they haven't been tampered with.
Add your answer
Loading...

Leave a comment

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