logoalt Hacker News

1a527dd5 • yesterday at 9:53 PM • 3 replies • view on HN

Yes: https://developer.mozilla.org/en-US/docs/Web/Security/Defens...


Replies

skeeter2020 • today at 12:13 AM

this will prevent an unexpected version but doesn't stop a legit but compromised include from loading nefarious resources

stavros • yesterday at 11:06 PM

SRI helps you make sure the script you're loading is what you initially thought, but doesn't ensure that script doesn't load other scripts, no? You need CSP for that.

➕ show 1 reply
duxup • yesterday at 10:09 PM

Very cool thank you.