The Web Application Security Working Group has published a W3C Recommendation of Subresource Integrity. This specification defines a mechanism by which user agents may verify that a fetched resource has been delivered without unexpected manipulation.
Web Design News
