News for hackers. Stuff that matters.
Re:Florida House of Representatives approves bill to ban soc... by basil-rash on Monday January 29, 2024 @05:11PM (#39183444)
Already exists, simply include the header

Rating: RTA-5042-1996-1400-1577-RTA

in HTTP responses that include adult content, and every parental controls software in existence will block it by default, including the ones built into iPhones/etc and embedded webviews. As far as I know all mainstream adult sites include this (or the equivalent meta tag) already.

In general, I don’t think communicating to every site you visit that you are a minor and asking them to do what they will with that information is a good idea. Better to filter on the user’s end.

Re:Florida House of Representatives approves bill to ban soc... by pdpi on Monday January 29, 2024 @07:12PM (#39184601)
That's a much better approach in general.

It's much easier to regulate and enforce that websites must expose these headers so that UAs can do their own filtering. Adult Content = headers in response, no ifs, ands, or buts

Response headers are encrypted in the context of HTTPS, so there's no real sacrifice in privacy. Implementation effort about as close to trivial as can be. No real free speech implications (unless you really want to argue that those headers constitute compelled speech). All in all, it's a pretty decent solution.

Re:Florida House of Representatives approves bill to ban soc... by joshyeetbox on Monday January 29, 2024 @07:26PM (#39184734)
This is not a response header. It's a meta tag that's added to a websites head element to indicate it's not kid friendly. The individual payloads returned from an adult site don't include this as a header.
Re:Florida House of Representatives approves bill to ban soc... by basil-rash on Tuesday January 30, 2024 @07:25AM (#39189281)
That'd be the "equivalent meta tag" I mentioned. And this site claims the header works too, though I haven't tested it myself. https://davidwalsh.name/rta-label
Re:Florida House of Representatives approves bill to ban soc... by JeremyNT on Monday January 29, 2024 @05:51PM (#39183880)
I honestly wasn't aware of this, and it sounds like a great solution for "adult content." Certainly, the site specifying this is better than the user agent having to reveal any additional details about its configuration.