3 ms·
So Integrity checking it just that, checking that the code is actually what you have uploaded. Having worked closely with the great people have made the SRI spe
by securefail 11y ago
So Integrity checking it just that, checking that the code is actually what you have uploaded. Having worked closely with the great people have made the SRI specification(www.w3.org/TR/SRI/) I can guarantee any CDN supporting integrity checking want to ensure you get the correct content.
If they didn't care about delivering the correct content they would be pushing back against the specification / using it.
This is why I have pushed bootstrap to start using integrity checking to prevent this form of code injection. But yeah there isn't a requirement for you to use this with a CDN either (I get whilst the browser support isn't there on a bank site it wouldn't perhaps be ideal - this has always been the case unless you are in charge of the CDN content) what it does do it inform me that they won't be delivering variable content of any kind whatsoever as SRI would break that code if they tried to load malicious content.
Justin who has also replied to this message works closely with developer outreach at MaxCDN and cares greatly about their product 'doing the right thing'™
Let me know if you have any further questions about SRI as I can probably answer then for you.
Jonathan Kingston