3 ms·
What would it take to get the w3/html5 folks simply add a src-hash="$algo:$value" to any tag that can load remote resources? Seems like a low-impact way to sig
by jasonjayr 11y ago
What would it take to get the w3/html5 folks simply add a src-hash="$algo:$value" to any tag that can load remote resources?
Seems like a low-impact way to significantly boot the usefulness + security of CDN's. If the source page (requested over https, and presumedly not MITM'ed already) declares "I want to load that resource over there, and I expect it to hash to this value", then we get all the benefits of caching + trust that it has not been tampered.
- deanclatworthy 11y agoLast time I saw this mentioned someone posted s link to the w3 pointing out that it is in fact being discussed for future implementation.
- martindale 11y agoThis exists, subresource integrity: http://www.w3.org/TR/SRI/ http://www.w3.org/TR/SRI/