Skip to content

Going forward with CSP #108

@rugk

Description

@rugk

Google has just released a CSP testing tool and some more detailed information about CSP.

They mention some interesting things:

  1. There is a new 'strict-dynamic' being created.
  2. unsafe-inline can always be used as a fallback for older browsers supporting only CSPv2. CSPv3-compliant browsers will ignore this if strict-dynamic, nonces or hashes are used.
  3. They do discourage the use of 'self' in script-src as it can be bypassed in certain cases.

In CSPv3 you can AFAIK also define subdirectories (privatebin.org/scripts), which could be another way to strengthen our policy. However in this case there might be compatibility issues.

So together with #82 this might be an issue we can address in the future when CSP has further developed itself 😃

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions