{ "@context": "https://schema.org", "@id": "https://webspecification.com/spec/security/subresource-integrity.jsonld", "@graph": [ { "@type": "TechArticle", "@id": "https://webspecification.com/spec/security/subresource-integrity/#article", "headline": "Subresource Integrity (SRI)", "description": "SRI adds a cryptographic hash to every third-party script and stylesheet so the browser refuses to run modified files. Essential for any external JS or CSS you depend on.", "url": "https://webspecification.com/spec/security/subresource-integrity/", "inLanguage": "en", "isPartOf": { "@type": "WebSite", "@id": "https://webspecification.com/#website", "name": "Web Specification Studio", "url": "https://webspecification.com" }, "author": { "@type": "Person", "name": "Web Specification Studio", "url": "https://webspecification.com" }, "publisher": { "@type": "Organization", "@id": "https://webspecification.com/#organization", "name": "Web Specification Studio", "url": "https://webspecification.com" }, "license": "https://creativecommons.org/licenses/by/4.0/", "dateModified": "2026-07-02T00:00:00.000Z", "citation": [ { "@type": "CreativeWork", "name": "Subresource Integrity (W3C Working Draft)", "url": "https://www.w3.org/TR/SRI/", "publisher": { "@type": "Organization", "name": "W3C" } }, { "@type": "CreativeWork", "name": "Subresource Integrity โ€” ยง3.8 Integrity-Policy (W3C Editor's Draft)", "url": "https://w3c.github.io/webappsec-subresource-integrity/#integrity-policy-section", "publisher": { "@type": "Organization", "name": "W3C" } }, { "@type": "CreativeWork", "name": "MDN โ€” Integrity-Policy header", "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Integrity-Policy", "publisher": { "@type": "Organization", "name": "MDN" } }, { "@type": "CreativeWork", "name": "OWASP โ€” Third Party JavaScript Management Cheat Sheet", "url": "https://cheatsheetseries.owasp.org/cheatsheets/Third_Party_Javascript_Management_Cheat_Sheet.html", "publisher": { "@type": "Organization", "name": "OWASP" } } ] }, { "@type": "BreadcrumbList", "@id": "https://webspecification.com/spec/security/subresource-integrity/#breadcrumb", "itemListElement": [ { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://webspecification.com/" }, { "@type": "ListItem", "position": 2, "name": "Spec", "item": "https://webspecification.com/spec/" }, { "@type": "ListItem", "position": 3, "name": "Security", "item": "https://webspecification.com/spec/security/" }, { "@type": "ListItem", "position": 4, "name": "Subresource Integrity (SRI)", "item": "https://webspecification.com/spec/security/subresource-integrity/" } ] } ] }