Hacker News new | ask | show | jobs
by jszymborski 133 days ago
Too bad CORS doesn't fix this. It would be awesome to be able to sandbox a page completely.
1 comments

You can use CSP for this:

    Content-Security-Policy: img-src 'self';