LavaMoat / snow

Use Snow to finally secure your web app's same origin realms!
https://lavamoat.github.io/snow/demo/
MIT License
100 stars 9 forks source link

Enforce Snow integration with CSP #118

Closed weizman closed 1 year ago

weizman commented 1 year ago

tl;dr

Motivation

In this PR

Notes

weizman commented 1 year ago

858059e is a big one (with e19c70e also):

In 60dfa89 we discover some FF issues that seem to be bigger than this change. This makes it even clearer that in addition to the decided CSP above we should introduce object-src 'none' also, as object is a problematic one and also shouldn't be used by websites really

weizman commented 1 year ago

Continuing https://github.com/LavaMoat/snow/pull/118#issuecomment-1629379581, in 20aae8b we introduce CSP support for object-src too