this post was submitted on 16 Aug 2023
80 points (90.0% liked)

Technology

70528 readers
4330 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
 

cross-posted from: https://lemmy.world/post/3301227

Chrome will be experimenting with defaulting to https:// if the site supports it, even when an http:// link is used and will warn about downloads from insecure sources for "high-risk files" (example given is an exe). They're also planning on enabling it by default for Incognito Mode and "sites that Chrome knows you typically access over HTTPS".

top 27 comments
sorted by: hot top controversial new old
[–] the_q@lemmy.world 75 points 2 years ago (3 children)

Don't use chromium based browsers.

[–] Buddahriffic@lemmy.world 19 points 2 years ago (3 children)

Is this just general advice? If so, I agree, but if it's specific to this, what's the problem you see with it?

[–] thantik@lemmy.world 23 points 2 years ago (1 children)

Google has shown that they're going to go the Microsoft strategy with Browser control. So long as they have majority control, that means they can be as anti-user as they would like, but since everything is downstream of chromium, everyone just basically accepts it. Everything from Google AMP (which was their attempt to take over the web in whole), to their new "Web Integrity API" which aims to lock out any competitors.

[–] Buddahriffic@lemmy.world 7 points 2 years ago

Agreed, but to clarify, I was asking if there was an issue with this specific change (always using https if it's available even if the URL uses http), as it does seem to be a positive that makes me wonder why it's only happening now.

[–] the_q@lemmy.world 12 points 2 years ago

It is general advice, but https should have been the default for a good while.

If we have to pick just one reason: WEI. As someone who’s been a professional software engineer for a decade and a half, this has the potential to mutate and ruin the internet at large in ways we’re only beginning to fully explore and understand.

[–] jacaw@lemmy.ml 27 points 2 years ago (1 children)

Chrome didn’t already default to https? Why?

[–] Spotlight7573@lemmy.world 18 points 2 years ago (1 children)

It does if you just type in something like wikipedia.org . This most recent change they're working on is so that a link on a page to:

http://wikipedia.org will get redirected to https://wikipedia.org if the site supports it.

This will fix a bunch of old links that are still floating around on various sites, forums, etc and keep people on https, instead of doing the https -> http -> https redirect bouncing around that can happen now.

[–] jacaw@lemmy.ml 0 points 2 years ago (1 children)

Ah, that’s a great feature. Hope this comes to Brave soon.

[–] Synthead@lemmy.ml 9 points 2 years ago (1 children)

I disagree. While in practice, this is often the same website, it is a different protocol and a different port. It just happens to use the same DNS address. You're explicitly giving your browser a FQDN, and it is ignoring it and doing something else.

I hope this feature can be disabled. Google has been ignoring the W3C and has shipped proprietary, insecure features in their chromium engine for a while now, so it wouldn't surprise me if they made it permanent 🤷

[–] lolcatnip@reddthat.com 9 points 2 years ago (2 children)

What kind of monster would deliberately serve different content for http and https versions of the same URL?

[–] Synthead@lemmy.ml 8 points 2 years ago (1 children)

I agree. That would be absurd.

However, I don't like not having the option of using HTTP if I want to use it. It's okay if the webserver redirects me, but I don't like if my browser does it when I didn't tell it to. I might want this when doing development, port tunneling, VPN stuff, etc. In most cases, it won't matter, but when it does, it will be a pain in the ass.

[–] dust_accelerator@discuss.tchncs.de 4 points 2 years ago (1 children)

Imagine you want to test your redirect from 80 to 443 when setting up your webserver.

While I think for the normal user this enhances security by defaulting to HTTPS, however this makes no sense for a browser. This should be enforced server side, the browser is for browsing, i.e. viewing. Not controlling and competing with the server software for competency.

Chromium is really leaning into bad code practice with the disregard for "separation of concerns".

[–] Spotlight7573@lemmy.world 2 points 2 years ago

If it's enforced server-side, then there's still an initial connection that is unsecured and can potentially be intercepted/modified before it gets to the redirect from 80 to 443.

[–] Valmond@lemmy.mindoki.com 0 points 2 years ago

I have, and for quite some time when I was trying to set Https up.

It's really bad IMO to "decide what the user wants" even if this is both discussable and a very small step, it is a step towards that.

[–] LordXenu@artemis.camp 18 points 2 years ago (1 children)

Pushing traffic to https isn’t the worst thing. My ask would be to have a toggle to disable due to local development or server deployments where http/port 80 is the only choice.

[–] lily@shinobu.cloud 9 points 2 years ago (2 children)

It does specifically say "defaulting to https:// if the site supports it", so I think specifying http will still work if the site doesn't actually support https.

[–] Valmond@lemmy.mindoki.com 5 points 2 years ago

Got a message back from Https, let's switch!

The message:

"Internal nginx routing error."

[–] dust_accelerator@discuss.tchncs.de 2 points 2 years ago* (last edited 2 years ago)

No testing a server side http-to-https upgrade/redirect without reconfiguring your browser. This seems like an unnecessary and bad idea.

This could be easily done better by promoting such server-side configurations as a default.

I mean, why should the browser attempt to correct inappropriately configured servers? Shouldn't they rather be making PRs to NGINX/Apache/CAs or whatever?

Also: can't this be exploited to spoof an unavailable HTTPS and coerce an unencrypted connection?

[–] yoz@aussie.zone 10 points 2 years ago

Not touching chromium or chrome. Sworry! Happy with Firefox.

[–] Entaty_13@lemmy.world 4 points 2 years ago (1 children)

What's the difference between the two?

[–] Spotlight7573@lemmy.world 13 points 2 years ago (1 children)

I'm not sure which thing you're referring to.

If it's between http and https, the s stands for secure and the connection to the server is authenticated and encrypted.

[–] Entaty_13@lemmy.world 4 points 2 years ago

Was curious, thanks

[–] dan1101@lemm.ee 2 points 2 years ago

Their Googlebot has been pushing https hard for years. I really don't see the point for mundane sites with no sensitive or controversial content, but there is no way to fight Google so like a good little site operator I go along if I want to be in Google search results.