by est · 6y ago · 0 comments
https://blog.chromium.org/2019/10/no-more-mixed-messages-abo...
Since Chrome v80 they forced <video> <img> content to switch to HTTPS, if the page itself is served https. Is it really a good idea? So for Intranet URLs with customize TLDs, you have exactly three choices:
1. Turn off the upgrade-insecure-requests or CSP crap in browser config completely. This voids all the security features browser-wide.
2. Install a company wide root cert. Yeah because enabling the company to MITM all TLS traffic is more secure than streaming videos over http in a company LAN.
3. Train the end-users to click "trust certs with invalid Common Name". That's will teach them.
Did I miss something here? What kind of Web do we live in these days?
If the intranet isn't set up to be able to serve over HTTPS, then wouldn't the intranet page be served over HTTP too and not make this an issue? Is it really common to have intranet sites where you have some of the endpoints covered by HTTPS and some not, and further, the HTTPS intranet page embedding content from intranet HTTP sites?
The page itself is served in both HTTP and HTTPS, can be visited in and outside the LAN.
The <img> and <video> content fail in HTTPS without explanation in Chrome v81+
So why can't you use one of these options:
1. Redirect all users to HTTPS, since you apparently already have a globally valid certificate.
2. Rewrite the tags to use HTTPS only when the page is loaded over HTTPS.
3. Set upgrade-insecure-requests only when the page is loaded over HTTPS.
However I can use reverse of your methods to redirect every HTTPS to HTTP.
Yes I can make that switch, but I also think every domain should be considered normal.
However in this particular case, the Intranet TLD is purposely hidden from public resolvers.
I understand the need for hiding your TLD though. I don't see a nice solution here, sadly.
If you're already serving regular content over HTTPS internally, then I don't see the big issue in serving video and images the same way, but I'm not familiar with your particular use case so you may of course have a point here that I'm ignorant of.
We are talking about the Open Web here. I think TOR wouldn't be as popular if we do not allow custom TLDs.
And I politely disagree with ICANN's new gTLDs expansion. domains like blog.google is wrong.
The company TLD was purposely built to hide behind the LAN. Been publicly resolvable is a huge a security risk. Public recursive resolvers will log where and when a user visits an internal site.
I really fail to see a point here. Can you please mention a compelling case?
No I did not. Sorry. Just because it's popular does not mean it should be implemented.
Also isn't HTTP content makes the whole monitoring crap easier? Sigh.
There are many BYOD companies, it's uncivil to monitor other people system wide.
Lastly, encrypt with TLS then MITM decrypt is not carbon friendly. It's such a retarded waste of energy. Might just allow a directive in CSP to force downgrade everything to http. Problem solved.
> isn't HTTP content makes the whole monitoring crap easier?
Not really. HTTPS remains encrypted where servers reject a downgrade, but an intruder can potentially force a downgrade in something misconfigured and snoop something important without having the root key.
> not carbon friendly
I suspect that switching off some of the endless lights in offices when sunlight more than suffices would have a seriously larger energy-saving impact.
You are right, there are rules, like the custom TLD is for authorized LAN users only. A public resolvable address is risky be cause the domain has a traceable ownership and identity, it relies on unnecessary external authorities.
For the migration I am considering deploy a company wide cert. But also I am frustrated because browsers shouldn't dictate the kind of Intranet structure we use.
If we still believe the Web should remain open, let the browsers behave more neutral.
I wish those companies good luck, and I wish an open Web moves away from those companies as far as possible. If browser vendors wants to kiss corporate ass then I vote by uninstall them.