-
Notifications
You must be signed in to change notification settings - Fork 377
Description
What problem are you trying to solve?
Users may not want to have objectionable content displayed in their browser. Two browsers (Firefox and Edge) consume OS signals for web content restriction and convey this information to websites as the user browses via the Prefer HTTP header (RFC 8674).
What solutions exist today?
Content labeling, e.g. the <meta name="rating" content="adult"> as proposed for HTML is one approach for this functionality.
Currently, governments seem to be turning toward cryptographic proofs of age from digital credentials to make similar use cases work. Even with fancy crypto, there are significant privacy risks
How would you solve it?
Currently the spec has the following step
- Modify httpRequest’s header list per HTTP. Do not append a given header if httpRequest’s header list contains that header’s name.
I'd propose appending the following step before that step:
"If the user agent has a signal, either from the user directly or the operating system, that the user prefers that the server not respond with content that is designated as objectionable according to the server's definition of the concept, append (Prefer, safe) to httpRequest's header list. [RFC8674]"
We would also need to make it clear that these steps are exclusive operations. This is probably the right interpretation since RFC 8674 is informational.
Anything else?
No response