Skip to content

Commit b034c70

Browse files
authored
Opt out example with header
This is an alternate version of WICG#47 covering only the HTTP header. In the future when an opt-out that does not require setting a header is available, the alternate method might be a better example to include here.
1 parent 0dbb92b commit b034c70

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ It should be clear that FLoC will never be able to prevent all misuse. There wil
5353
### Opting Out of Computation
5454
A site should be able to declare that it does not want to be included in the user's list of sites for cohort calculation. This can be accomplished via a new `interest-cohort` [permissions policy](https://www.w3.org/TR/permissions-policy-1/). This policy will be default allow. Any frame that is not allowed `interest-cohort` permission will have a default value returned when they call `document.interestCohort()`. If the main frame does not have `interest-cohort` permission then the page visit will not be included in interest cohort calculation.
5555

56+
For example, a site can opt out of all FLoC cohort calculation by sending the HTTP response header:
57+
58+
```
59+
Permissions-Policy: interest-cohort=()
60+
```
61+
5662
## Proof of Concept Experiment
5763
As a first step toward implementing FLoC, browsers will need to perform closed experiments in order to find a good clustering method to assign users to cohorts and to analyze them to ensure that they’re not revealing sensitive information about users. We consider this the proof-of-concept (POC) stage. The initial phase will be an experiment with cohorts to ensure that they are sufficiently private to be made publicly available to the web. This phase will inform any potential additional phases which would focus on other goals.
5864

0 commit comments

Comments
 (0)