Closed
Description
Subresource Integrity (SRI) is a security feature that enables browsers to verify that files they fetch (for example, from a CDN) are delivered without unexpected manipulation. It works by allowing you to provide a cryptographic hash that a fetched file must match.
<script
src="https://example.com/example-framework.js"
integrity="sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
crossorigin="anonymous"
></script>
It should probably be implemented similarly to the hash generation for cache busting.
Source: https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
Metadata
Metadata
Assignees
Labels
No labels