3 ms·
Also, if there's a known-trusted resource, go for https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity https://developer.mozilla.org/en-U
by Piskvorrr 9y ago
Also, if there's a known-trusted resource, go for https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity https://developer.mozilla.org/en-US/docs/Web/Security/Subres... - if the resource changes, it will fail to load. If unchanged, offload to a CDN, if fails, serve locally. Multiple identifiers allowed, which mitigates second preimage attacks.
- jaffathecake 9y agoI added this to the article, thanks!