Site icon Chrome Geek

Towards HTTPS by default

Chromium Blog

For the past several years, more than 90% of Chrome users’ navigations have been to HTTPS sites, across all major platforms. Thankfully, that means that most traffic is encrypted and authenticated, and thus safe from network attackers. However, a stubborn 5-10% of traffic has remained on HTTP, allowing attackers to eavesdrop on or change that data. Chrome shows a warning in the address bar when a connection to a site is not secure, but we believe this is insufficient: not only do many people not notice that warning, but by the time someone notices the warning, the damage may already have been done.

We believe that the web should be secure by default. HTTPS-First Mode lets Chrome deliver on exactly that promise, by getting explicit permission from you before connecting to a site insecurely. Our goal is to eventually enable this mode for everyone by default. While the web isn’t quite ready to universally enable HTTPS-First Mode today, we’re announcing several important stepping stones towards that goal.


Automatic upgrades


Chrome will automatically upgrade all http:// navigations to https://, even when you click on a link that explicitly declares http://. This works very similarly to HSTS upgrading, but Chrome will detect when these upgrades fail (e.g. due to a site providing an invalid certificate or returning a HTTP 404), and will automatically fallback to http://. This change ensures that Chrome only ever uses insecure HTTP when HTTPS truly isn’t available, and not because you clicked on an out-of-date insecure link. We’re currently experimenting with this change in Chrome version 115, working to standardize the behavior across the web, and plan to roll out the feature to everyone soon. While this change can’t protect against active network attackers, it’s a stepping stone towards HTTPS-First mode for everyone and protects more traffic from passive network eavesdroppers.


Warning on insecurely downloaded files


Building and expanding on our previous work removing support for mixed downloads, Chrome will start showing a warning before downloading any high-risk files over an insecure connection. Downloaded files can contain malicious code that bypasses Chrome’s sandbox and other protections, so a network attacker has a unique opportunity to compromise your computer when insecure downloads happen. This warning aims to inform people of the risk they’re taking. You will still be able to download the file if you’re comfortable with the risk. Unless HTTPS-First Mode is enabled, Chrome will not show warnings when insecurely downloading files like images, audio, or video, as these file types are relatively safe. We’re expecting to roll out these warnings starting in mid September.



Expanding HTTPS-First Mode protections for more people


Our ultimate goal is to enable HTTPS-First Mode for everyone. To that end, we’re expanding HTTPS-First Mode protections to several new areas:


Try it out


If you’d like to try out HTTPS upgrading or warning on insecure downloads before they roll out to everyone, you can do so in Chrome today by enabling the “HTTPS Upgrades” and “Insecure download warnings” flags at chrome://flags.  And if you want stronger protections, you can also turn on HTTPS-First Mode by enabling “Always use secure connections” in Chrome security settings (chrome://settings/security)!


Information for Developers and Enterprise


If you’re a developer, you can ensure your users don’t see warnings or encounter failed upgrades on your sites by using HTTPS and ensuring that your site doesn’t host content only accessible over HTTP. We encourage you to fully adopt HTTPS and redirect all HTTP URLs to their HTTPS equivalents. Even if you believe that your site does not host personal information, using HTTP puts your users at increased risk of network attackers injecting malicious content into their browsers. Malicious network attackers rely on insecure sites to get a foothold towards your users. We’re exploring additional ways we can reduce the risk users experience by visiting insecure websites by, for instance, reducing the lifetime of cookies accessible over HTTP — switching to HTTPS ensures that your users’ experience will not be impacted by these future changes. If you can’t support HTTPS yet, you can ensure that users can access your site by making sure that your server either does not respond to requests on port 443 at all, or uses HTTPS to redirect users back to HTTP.

We know that enterprises and education networks have unique needs. These features can be turned on early, customized, or turned off entirely via the HttpsOnlyMode, HttpsUpgradesEnabled, HttpAllowlist, and InsecureContentAllowedForUrls policies. 


Part of our ongoing commitment


Chrome has a long history of working towards a secure-by-default web, and we’re not stopping here.  We’re so close to the finish line, and we’re excited to help the web get to HTTPS by default.

Post by Joe DeBlasio, Chrome Security team

Read the rest of the article

:

Remember to like our facebook and our twitter @geekchrome.

Exit mobile version