psipeter / investment-game-webapp

0 stars 0 forks source link

Send CORS and CSP headers #11

Closed astoeckel closed 3 years ago

astoeckel commented 3 years ago

Disable inline JavaScript and CSS. Disallow loading resources from anything other than the same origin (CSP); disallow embedding content from the application in other websites (CORS)

CORS: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS CSP: https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP

Depends on #9 , #10