Skip to content

Introduce rate limiting for violation reports (report-uri and report-to) #227

@danmx

Description

@danmx

CSP should be able to rate limit violation reports send to report-uri or report-to, e.g. by setting a percentage 0-100. This would make it easier for high traffic sites to start adopting CSP and would reduce possibility of DDoSing reports' receiver in case of violation.

My proposal:
Before sending a violation browser will draw a random number from 1 to 100 if the number is lower or equal than rate limit setting (0-100) it'll send a violation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions