Hacker News new | ask | show | jobs
by Spivak 3663 days ago
Compromise and make sure it's served 1st party?
1 comments

Caches are nice though. Compromise and make sure it's checked against a hash provided by the first party?
As long as you use subresource integrity we have a deal! I know it's currently experimental but having native browser support is much more palatable than using JS to check the hash.
Then ensure that it can't communicate with the domain it's loaded from.