{"@context":"https://schema.org","@type":"DefinedTerm","@id":"https://crawlcheck.io/glossary/subresource-integrity#term","name":"Subresource Integrity","description":"A browser check, set with an integrity attribute on a script or stylesheet tag, that refuses the file when its bytes do not match the expected hash. A file loaded from another origin also needs the crossorigin attribute and a CORS response. Covered in CrawlCheck's guide to rolling out a Content Security Policy from report-only to enforced. It protects one fixed version of a file; it cannot be used for a file that is meant to change, and it does not check the scripts that file goes on to load.","url":"https://crawlcheck.io/glossary/subresource-integrity","inDefinedTermSet":"https://crawlcheck.io/glossary"}