Skip to content

Sec-Fetch-Site utility for resources that need to be exposed cross-site #11

@anforowicz

Description

@anforowicz

When discussing Cross-Origin Resource Policy v1, @arturjanc mentioned that

The problem with not allowing granular control in From-Origin is that it will be impossible for developers whose resources are loaded cross-site to use the header, even if they fully control the requesting domain.

Doesn't the same problem apply to Sec-Fetch-Site? As currently proposed the header values are limited to "cross-site", "same-origin", and "same-site" - when seeing a "cross-site" value the server won't be able to distinguish between https://friendly.origin.at.another.site.com VS https://attacker.com, right?

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