flask-secure-headers icon indicating copy to clipboard operation
flask-secure-headers copied to clipboard

Does this supersede flask-csp?

Open toolness opened this issue 10 years ago • 2 comments

Hey, I was just comparing this library against flask-csp and finally realized that they're by the same person!

Out of curiosity, is flask-secure-headers meant to supersede flask-csp?

toolness avatar Nov 17 '15 14:11 toolness

Hey Atul,

For the most part yes. flask-csp stores default values in a json file so it wouldn't be great for running multiple apps with different settings in the same python environment. For flask-secure-headers I changed that to store default values in an object and I just figured there was no reason to fix flask-csp because flask-secure-headers has the same csp functionality plus several additional security headers.

-Tristan

twaldear avatar Nov 17 '15 16:11 twaldear

Cool, thanks Tristan!

toolness avatar Nov 17 '15 17:11 toolness