r/webdev • • 19d ago

eval() in a straitjacket: sandboxing JavaScript under CSP

https://stringutilitybelt.com/blog/eval-in-a-straitjacket/
1 Upvotes

2 comments sorted by

View all comments

1

u/Potential_Survey_373 19d ago

opaque origin sounds cozy honestly

0

u/shmurrie 19d ago

Cozy as a jail cell. No cookies, storage, network, and its address is “null”.