Earlier quoted context omitted.
And the law also only requires you to ask the user if they want to be spied on. It's not tightly bound to cookies in any way. And vastly misunderstood. There was a predecessor which was somehow tied to cookies but even then you didn't need to ask for setting purely functional cookies. But somehow everyone ended up interpreting it as such. Maybe because most sites don't have many purely functional cookies or fingerpri…
I’m convinced that a lot of the really annoying cookie prompts are the result of two things: * paranoia, from small websites that are understandably worried about massive fines that could actually put their one-man-show into the poor house * retaliation, from large websites that intentionally want to turn public sentiment against privacy laws
Downgrade User Agent Client Hints to 'harmful'
81–90 of 116 posts
Re: Downgrade User Agent Client Hints to 'harmful'
#82Earlier quoted context omitted.
"I suppose the client could maintain a list of sites that don't need SNI." That list would be much larger than the list of sites that do require SNI. Generally, I can determine whether SNI is required by IP address, i.e., whether it belongs to a CDN that requires SNI. Popular CDNs like AWS publish lists of their public IPs. I use TLSv1.3 plus ESNI with Cloudflare but they are currently the only CDN that supports it.…
I don't think you can ever determine that a site doesn't need SNI using HTTP alone. All you can have is that it doesn't or you don't know.
When I first started developing this workaround I thought I would be manually editing the SNI list constantly for "all those random sites that use SNI". This has not been the case. For the sites submitted to HN, use of SNI is mostly a CDN phenomena.
The important point here is that I do not send SNI by default. The default is privacy-by-design: no SNI. If I encounter a site that fails because it needs SNI, I add it to the list. The failure is caught by the proxy (the proxy verifies certificates, I do not rely on the browser), the SSL error is visible in the logs, and the error page the browser receives is a custom one I created myself that tells me where in the configuration the failure occured. I can test whether a site requires SNI very quickly.
Popular browsers cannot do this, we know that. If they could, I would not be coming up with workarounds. They routinely send more data than is needed, including SNI. That is the point of the original comment.
Re: Downgrade User Agent Client Hints to 'harmful'
#83Earlier quoted context omitted.
I would highlight that both Microsoft and Apple (to a lesser extent, mind you) also operate their own ad platforms. Don't get me wrong, I'd be happy to see a blanket ban on web browsers and ad companies being related, and have it apply to all three. I'm an equally opportunity antitrust breakup advocate. ;) Regarding risk-based authentication, I see a lot of value in it, but I think the cost may be too high, and often…
> I would highlight that both Microsoft and Apple (to a lesser extent, mind you) also operate their own ad platforms. Do you mean that before when you said "every single browser developer that doesn't own an Ads and Analytics suite" you meant to exclude nearly all the browser vendors? Google, sure, but also Apple, and Microsoft. And then Opera, UC Browser, Brave, DDG, ... I think maybe everyone but Mozilla and Vivald…
Re: Downgrade User Agent Client Hints to 'harmful'
#84Earlier quoted context omitted.
How would this work? SNI is sent by the client in the initial part of the TLS handshake. If you don't send it, the server sends the wrong/bad cert. The client could retry the handshake using SNI to get the correct cert but: - This adds an extra RTT, on the critical path of getting the base HTML, hurting performance. - A MITM could send back an invalid cert, causing the browser to retry with SNI, leaking it anyway (si…
"I suppose the client could maintain a list of sites that don't need SNI." That list would be much larger than the list of sites that do require SNI. Generally, I can determine whether SNI is required by IP address, i.e., whether it belongs to a CDN that requires SNI. Popular CDNs like AWS publish lists of their public IPs. I use TLSv1.3 plus ESNI with Cloudflare but they are currently the only CDN that supports it.…
If your threat model is such that you absolutely positively cannot leak the signal of what domain names you want to make HTTPS connections to, then I suppose this is an approach that can be used. But if you believe that is your threat model, I imagine you have bigger issues to protect against. As you say, it's unlikely to work for others.
Re: Downgrade User Agent Client Hints to 'harmful'
#85Earlier quoted context omitted.
But browsers could disable third party cookies, and autodelete first party cookies on page/tab close by default. There would be a "keep cookies for this site" button somewhere near the address bar, and at each login, the browser would also ask you if you want to save your password and/or save cookies for that domain. 99% of websites don't require persistant storage, and those who do, 99% of them are sites you're logg…
That's private browsing currently. Why not use a private window?
Re: Downgrade User Agent Client Hints to 'harmful'
#86Earlier quoted context omitted.
Unless a big vendor (coff Microsoft coff) decides to enable it by default, them it becomes meaningless.
Yes, but it's not hard to ignore DNT on Microsoft user agents, which are a small part of the population.
Re: Downgrade User Agent Client Hints to 'harmful'
#87Earlier quoted context omitted.
Honestly though, if its enough content for mobile, its enough content for desktop as well. The "garbage" we don't want to serve mobile, is often also garbage for desktop, autoplay videos, too many tracking scripts, etc. If we force people to optimize their site for mobile and desktop then maybe we'll actually get good desktop sites.
Eh, navigation layout should definitely be different for mobile, and we shouldn't ship the desktop navigation to phone browsers, and I still think it's reasonable to offer phones smaller/more compressed image sizes and stuff by default. I agree tracking scripts and the like should be blocked and removed across the board. But I think there's probably a suitable amount of visible UI and content that should be shipped d…
Re: Downgrade User Agent Client Hints to 'harmful'
#88> "User Agents MUST return the empty string for model if mobileness is false. User Agents MUST return the empty string for model even if mobileness is true, except on platforms where the model is typically exposed." (quoted from https://wicg.github.io/ua-client-hints/#user-agent-model ) Honestly now - who drafts and approves these specs? Not only does it make no sense whatsoever to encode such information this way -…
I mean sure http being plaintext is silly but that's not down to the authors of this particular rfc.
Re: Downgrade User Agent Client Hints to 'harmful'
#89Earlier quoted context omitted.
"I suppose the client could maintain a list of sites that don't need SNI." That list would be much larger than the list of sites that do require SNI. Generally, I can determine whether SNI is required by IP address, i.e., whether it belongs to a CDN that requires SNI. Popular CDNs like AWS publish lists of their public IPs. I use TLSv1.3 plus ESNI with Cloudflare but they are currently the only CDN that supports it.…
Ahhh. I see, you are default-no-SNI, and whitelist those that do. If your threat model is such that you absolutely positively cannot leak the signal of what domain names you want to make HTTPS connections to, then I suppose this is an approach that can be used. But if you believe that is your threat model, I imagine you have bigger issues to protect against. As you say, it's unlikely to work for others.
Some folks write "browser extensions" to control graphical browsers to their liking. I generally do not use graphical javascript-enabled browsers; I prefer to use a different program, a proxy, to control the browser. It works with both graphical browsers and text-only ones.
Re: Downgrade User Agent Client Hints to 'harmful'
#90> "User Agents MUST return the empty string for model if mobileness is false. User Agents MUST return the empty string for model even if mobileness is true, except on platforms where the model is typically exposed." (quoted from https://wicg.github.io/ua-client-hints/#user-agent-model ) Honestly now - who drafts and approves these specs? Not only does it make no sense whatsoever to encode such information this way -…