Description
Add Content Security Policy headers to Django responses. It helps web applications restrict which scripts, styles, images, frames, and other resources a browser is allowed to load.
This is a security middleware, not a complete protection layer. CSP rules need careful testing because overly broad policies reduce protection, while overly strict policies can break legitimate site features.