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.
Loading...
Related Quiz
- The _________ listener is invoked when an attribute is added, removed, or replaced in a session.
- How should a system handle a situation where a transaction is interrupted due to a system failure?
- A thread-safe servlet ensures that shared data is accessed in a _________ manner.
- A servlet can __________ to another servlet, JSP, or HTML page using the RequestDispatcher.
- How do you handle transaction management when using PreparedStatement and CallableStatement?