Page MenuHomePhabricator

Add Content-Security policy config
Closed, ResolvedPublic

Description

Add a CSP policy that only allows loading resources from Toolhub itself and upload.wikimedia.org. Lock this down as tight as we can for initial launch.

Event Timeline

Change 704641 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[wikimedia/toolhub@main] backend: Add Content-Security-Policy header and report collector

https://gerrit.wikimedia.org/r/704641

Change 704641 merged by jenkins-bot:

[wikimedia/toolhub@main] backend: Add Content-Security-Policy header and report collector

https://gerrit.wikimedia.org/r/704641