Brave Browser: HTTPS by Default

Martin Brinkmann
Feb 11, 2023
Brave
|
2

Brave Browser upgraded certain sites from HTTP to HTTPS in the past using a list of compatible sites. Starting with Brave Browser 1.50, Brave drops the list approach to upgrade all HTTP sites to HTTPS, with the exception of a small list of sites that are not compatible.

brave 1.50 https upgrade

Brave's HTTPS by Default system launches in the next major version of the browser. Whenever Brave detects an HTTP site, it will check if the site is in the list of incompatible sites. If it is not, Brave attempts to upgrade the connection to HTTPS for improved security and privacy.

If that does not work, and there is a chance that it does not, as not all HTTP sites support HTTPS as well, it will fall back to using HTTP for the connection.

ADVERTISEMENT

Brave, HTTPS Everywhere and HTTPS by default

Previous versions of Brave Browser relied on an HTTPS upgrade list provided by HTTPS Everywhere. Brave checked whether the site was on the provided list when it encountered an HTTP site. If it was, it tried to upgrade the connection to HTTPS. If it was not, HTTP was loaded.

The approach worked, but it had two drawbacks that became apparent over time. The EFF, maintainer of the HTTPS Everywhere list, decided to end maintenance for it, which meant that the list was not updated anymore. The second drawback was the list-based approach itself. While it included thousands of sites, it excluded any site that still used HTTP that was not on the list.

Brave switched the approach. It still uses a list, but now only for incompatible sites. These sites have issues when upgraded to HTTPS; the issues can be functional or appearance related. Brave attempts to upgrade all sites not on that list to HTTPS, if they still use HTTP.

The list of sites that are incompatible is maintained by Brave on GitHub. The list includes several government and educational sites, but is relatively short. It has 112 entries at the time of writing.

Brave engineers ran into several roadblocks during development. Most sites that support HTTP and HTTPS use the same domain, but some don't. Some sites use subdomains for secure sites, others may use totally different domain names.

Brave's fallback to HTTP ensures that all of these sites will load.

Brave users may configure the feature in the Shields settings in Brave 1.50. These may be loaded directly in the address bar, brave://settings/shields, or by selecting Menu > Settings > Shields.

Closing Words

Brave Browser is not the only browser that attempts to upgrade insecure HTTP connections to HTTPS. Firefox has an HTTPS-Only Mode that loads only HTTPS pages, but comes with a fallback for sites that do not support HTTPS. Google Chrome and Microsoft Edge may try to upgrade to HTTPS as well.

Now You:

Summary
Brave Browser: HTTPS by Default
Article Name
Brave Browser: HTTPS by Default
Description
Brave's HTTPS by Default system launches in the next major version of the browser. Find out what it does and how it works here.
Author
Publisher
Ghacks Technology News
Logo
Advertisement

Previous Post: «
Next Post: «

Comments

  1. Tom Hawack said on February 11, 2023 at 1:30 pm
    Reply

    The article concerns the Brave browser, but maybe a side-note regarding the idea of https by default is acceptable.

    Less and less unsecured sites allow an https by default, I guess. Though it depends how exceptions are handled.
    Here on Firefox I don’t use the browser’s native HTTPS-Only Mode but rather the HTTPZ extension.

    By curiosity I just had a look at my bookmarks :
    http;// = 74
    https:// = 3536

    The nice thing with the HTTPZ application is that it is configurable to retry http sites with https after a period determined by the user, which means that all the unsecured bookmarked links are retested with https if I launch them (delay set to 7 days in my case).

  2. Hiroki Okayama said on February 14, 2023 at 9:12 pm
    Reply

    Thank you.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.