Subresource Integrity (SRI)

Difficulty: Intermediate

Question

What is Subresource Integrity (SRI)?

Answer

A security feature that enables browsers to verify that resources fetched from a third-party (like a CDN) haven't been tampered with, by checking their hash.

Concepts covered

CDN, Hashing