Subresource integrity is a draft mechanism to let browsers verify the integrity of web resources.

- Wiki
1 articles, 0 books.

Delegating responsibility to others which in effect gives them control to run script on your website is understandably concerning, particularly for certain classes of web asset. But there's a way that lets you have your public CDN cake and eat it too, and that's subresource integrity, here forth referred to as SRI.