Document directive
In CSP, document directives are used in a Content-Security-Policy header and govern the properties of a document or worker environment to which a policy applies.
In CSP, document directives are used in a Content-Security-Policy header and govern the properties of a document or worker environment to which a policy applies.
Document directives don't fall back to the default-src directive.
See Document directives for a complete list.
See also
- Related glossary terms:
- CSP
- Reporting directive
- Fetch directive
- Navigation directive
- Reference
- Document directives specification
- upgrade-insecure-requests
- block-all-mixed-content
- Content-Security-Policy