r/webdev • • Oct 20 '26

eval() in a straitjacket: sandboxing JavaScript under CSP

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

2 comments sorted by

1

u/[deleted] Oct 20 '26

[removed] — view removed comment

0

u/shmurrie Oct 20 '26

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