Flask Content Security Policy header support
Add a Content Security Policy header to your Flask application.
Mitigate the risk of cross-site scripting attacks by whitelisting trusted origins with a Content Security Policy.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.