encyclopegia.org

Subresource Integrity

Subresource Integrity or SRI is a W3C recommendation to provide a method to protect website delivery.[src] Specifically, it validates assets served by a third party, such as a content delivery network (CDN).[src] This ensures these assets have not been compromised for hostile purposes.[src] To use SRI, a website author wishing to include a resource from a third party can specify a cryptographic hash of the resource in addition to the location of the resource.[src] Browsers fetching the resource can then compare the hash provided by the website author with the hash computed from the resource.[src] If the hashes don't match, the resource is discarded.[src] An value may contain more than one space-separated hash expression.[src] Each expression combines a hash algorithm name with a Base64-encoded digest; when several recognized algorithms are supplied, the user agent validates the response using the strongest algorithm in the list.[src] A sample script element with integrity and crossorigin attribute used by the SRI:[src]

Subresource Integrity or SRI is a W3C recommendation to provide a method to protect website delivery.[src] Specifically, it validates assets served by a third party, such as a content delivery network (CDN).[src] This ensures these assets have not been compromised for hostile purposes.[src] To use SRI, a website author wishing to include a resource from a third party can specify a cryptographic hash of the resource in addition to the location of the resource.[src] Browsers fetching the resource can then compare the hash provided by the website author with the hash computed from the resource.[src] If the hashes don't match, the resource is discarded.[src] An value may contain more than one space-separated hash expression.[src] Each expression combines a hash algorithm name with a Base64-encoded digest; when several recognized algorithms are supplied, the user agent validates the response using the strongest algorithm in the list.[src] A sample script element with integrity and crossorigin attribute used by the SRI: ==References== ==External links== Subresource Integrity on Mozilla Developer Network (MDN) W3C specification SRI on Mozilla Wiki[src]

18 sentences · 18 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Subresource Integrity." encyclopegia.org, 2026, https://encyclopegia.org/wiki/subresource-integrity. Accessed 01 December 2026.

Chicago

"Subresource Integrity." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/subresource-integrity.

APA

encyclopegia.org. (2026). Subresource Integrity. Retrieved December 1, 2026, from https://encyclopegia.org/wiki/subresource-integrity

Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1376080630 · 0.5 · snapshot enwiki-001376080630

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.