-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
When we come to tighten up the CSP, here are all the potential rules it can have (see below). Note that some of these won't be applicable to our sites but we can either lock them down if unused or omit the rule. Some of these (not all) fallback to the default-src rule anyway if not defined - and I think we have set that to 'none' for each site - so that provides a modicum of security.
We can tick of each as they are considered/implemented/discarded:
- base-uri
(still deciding whether we should have none or self here)(self) - child-source (not used here as it defaults to
default-srcsettingnone) - connect-src
- default-src (
none) - font-src
- form-action (
self) - frame-ancestors (
none) - frame-src
- img-src
- manifest-src (
self) - media-src (
self) - object-src (not used here as it defaults to
default-srcsettingnone) - report-to (not used)
- require-trusted-types-for (not used)
- sandbox (not used, i.e. disallows sandboxing)
- script-src
- script-src-attr
- script-src-elem
- style-src
- style-src-attr
- style-src-elem
- trusted-types (not used)
- upgrade-insecure-requests (unused, server handles HTTPS upgrades directly)
- worker-src (
none)
petecooper
Metadata
Metadata
Assignees
Labels
No labels