    <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
     <channel>
        <title>ACCU  :: â€˜HTTPS Everywhereâ€™ Less Harmful Now</title>
        <link>https://members.accu.org/index.php/journals/2763</link>
        <description>Professionalism in Programming</description>
        <dc:language>en-us</dc:language> 
        <dc:creator>Administrator</dc:creator> 
        <admin:generatorAgent rdf:resource="http://www.xaraya.org" /> 
        <admin:errorReportsTo rdf:resource="mailto:webeditor@accu.org" />
       <sy:updatePeriod>hourly</sy:updatePeriod>
       <sy:updateFrequency>1</sy:updateFrequency>
       <docs>http://backend.userland.com/rss</docs>


        <h2>Journal Articles</h2>


<div class="xar-mod-head"><span class="xar-mod-title">CVu Journal Vol 32, #1 - March 2020 + Internet Topics</span></div>

<table border="0" cellpadding="1" cellspacing="0">
    <tbody>
    <tr>
        <td valign="top">
            Browse in :
       </td>
       <td valign="top">

                                            <a href="https://members.accu.org/index.php/journals/">All</a>

                     &gt;                         <a href="https://members.accu.org/index.php/journals/c76/">Journals</a>

                     &gt;                         <a href="https://members.accu.org/index.php/journals/c77/">CVu</a>

                     &gt;                         <a href="https://members.accu.org/index.php/journals/c408/">321</a>
                    (11)
<br />

                                            <a href="https://members.accu.org/index.php/journals/">All</a>

                     &gt;                         <a href="https://members.accu.org/index.php/journals/c13/">Topics</a>

                     &gt;                         <a href="https://members.accu.org/index.php/journals/c69/">Internet</a>
                    (35)
<br />

                                            <a href="https://members.accu.org/index.php/journals/c408-69/">Any of these categories</a>

                    -                        <a href="https://members.accu.org/index.php/journals/c408+69/">All of these categories</a>
<br />
</td>
   </tr>
   </tbody>
</table>




<div class="xar-error">
   <p>
 <strong>Note:</strong> when you create a new publication type,
the articles module will automatically use the templates
<em>user-display-[publicationtype].xt</em>
and <em>user-summary-[publicationtype].xt</em>.
If those templates do not exist when you try to preview or display a new article,
you'll get this warning :-)  Please place your own templates in themes/<em>yourtheme</em>/modules/articles . The templates will get the extension .xt there. </p>
</div>
<div class="xar-norm xar-standard-box-padding">
   <h1><strong>Title:</strong>&nbsp;â€˜HTTPS Everywhereâ€™ Less Harmful Now</h1>
<p><strong>Author:</strong>&nbsp;Bob Schmidt</p>
<p>
<strong>Date:</strong> 04 March 2020 23:09:43 +00:00 or Wed, 04 March 2020 23:09:43 +00:00</p>
<p><strong>Summary:</strong>&nbsp;Silas S. Brown takes another look at web security.</p>
<p><strong>Body:</strong>&nbsp;<p>This is a follow-up to my article in <em>C Vu</em> 27.6 (January 2016), â€˜HTTPS Everywhere Considered Harmfulâ€™ <a href="#[B1]">[1]</a>.</p>

<p>At the time (end-2015), I was particularly concerned about people whose only connection to the Internet is via 2G GSM, reading public articles. Since the question of â€˜which article are you readingâ€™ could be answered via traffic analysis (unless we make all articles the same length), in this situation HTTPS gave little benefit and had the huge drawback of being almost unworkable at 2G data speeds.</p>

<p>Of course, nowadays fewer people are stuck on 2G speeds, and some places (like Taiwan) have even turned off their 2G networks completely. Additionally, TLS 1.3 is making the protocol work better on high-latency connections, and browsers have made other optimisations that can actually make HTTPS even faster than HTTP. The only remaining problem is low-income users on ancient equipment that cannot keep up with the latest developments in encryption software.</p>

<h2>Faster than HTTP?</h2>

<p>The reason why modern browsers make HTTPS faster than HTTP is that they turn on the HTTP2 protocol (a successor to SPDY) and use its â€˜multiplexingâ€™, which is like an improved version of the â€˜pipeliningâ€™ feature in HTTP/1.1 that most browsers didnâ€™t actually use (they benefitted from Keep-Alive, but everything else was done by opening separate connections to the server rather than true pipelining). That means, on a page with images, scripts, etc, HTTPS can now result in less network traffic than HTTP, reversing the previous situation. The â€˜BREACHâ€™ attack (which relies on being able to trick somebodyâ€™s browser into sending chosen strings to the server and observing the size of its compressed responses) threatens to undo this if server administrators elect to mitigate it by switching off HTTP compression, but hopefully theyâ€™ll be sensible enough not to switch off compression when the Referer header confirms the request is a follow-up to the same domain.</p>

<h2>Integrity and Wi-Fi</h2>

<p>My previous position was that HTTPS is needed for situations where private data is being exchanged, such as in banking or private messaging, but itâ€™s less-obviously needed when youâ€™re reading public articles, especially if the question of â€˜which article are you readingâ€™ can be guessed anyway from response lengths (not to mention surveillance cameras and screen-recording software) so using HTTPS doesnâ€™t actually buy you much. But what if someone tries to tamper with the article?</p>

<p>I would have guessed that if the websites you read are going to be tampered with, then this dark deed would far more likely be done by malware on either the machine youâ€™re using or on the server itself, rather than the network in the middle. But then I visited London and tried to use the Underground Wi-Fi.</p>

<p>Itâ€™s generally accepted that public Wi-Fi services will intercept your first HTTP request and redirect it to an â€˜accept our termsâ€™ page. Newer smartphones even issue a test request automatically, to save you the trouble of finding an HTTP-only website to do it yourself. But the London Underground Wi-Fi was stuck on intercepting all HTTP requests, even after the terms had already been accepted and HTTPS was working perfectly. Since HTTP-only websites are a dying breed, the developers are now less likely to test that use-case, and we are going to see more public Wi-Fi that inadvertently blocks HTTP-only sites, so if itâ€™s not available on HTTPS it simply wonâ€™t be available. (Thankfully I wasnâ€™t stranded on the Underground: I had someone with me, plus Iâ€™d downloaded the blind-friendly descriptions of all stations from Describe Online in advance of the trip: I wasnâ€™t naive enough to rely on the Wi-Fi working for essential navigation data. But the problems I had with non-essential access may show whatâ€™s coming.)</p>

<p>And thatâ€™s not even considering the possibility of malicious Wi-Fi networks injecting malware into pages, nor the question of whether having non-sensitive websites on HTTPS actually helps the more sensitive sites out there, by cultivating a general expectation that HTTPS is â€˜normalâ€™.</p>

<h2>But what about old equipment?</h2>

<p>The one remaining problem with HTTPS is that of old equipment. Iâ€™m not worried about the climate-change implications of doing cryptography on the server (itâ€™s now negligible, and probably outweighed by the positive contribution of the latest protocolsâ€™ reduced traffic), but I do feel sad about client hardware having to be replaced before itâ€™s physically broken (unless the new one has significant power-consumption benefits), and Iâ€™m also concerned about low-income users who canâ€™t afford to upgrade their hardware as soon as their old device is no longer supported by software updates. Many newer Certificate Authorities are not recognised by the software installed on older devices, resulting in these users having to click through a myriad of security warnings (which is undesirable but manageable), or being locked out by HSTS (which means they have to look up how to clear the browserâ€™s HSTS cache), but a bigger problem is an increasing number of servers, like Wikimediaâ€™s, are insisting on using only the latest and most secure encryption methods, thus cutting off these users altogether unless they find a transcoding proxy service (such as the one I run, but it has traffic limits so I donâ€™t advertise it prominently).</p>

<p>For a non-sensitive website, you could say â€˜Iâ€™ll use HTTPS to work around Wi-Fi issues, but Iâ€™ll still allow old equipment to connect with broken old cryptography, because the risk of the network running a cryptography exploit is low enough, whereas the odds of plain HTTP being intercepted are higherâ€™. But that position requires you to have fine-grained control of which types of cryptography your HTTPS server supports. If itâ€™s a shared server then some well-meaning administrator could come along and turn off the old ciphers, but even if you run it yourself, youâ€™re still at the mercy of your software vendor when you apply security patches, unless you want to take over responsibility of maintaining your entire software stack from the ground up. It seems paradoxical that plain HTTP, whose security is even worse than that of the broken ciphers, will likely be supported by vendors for longer than old-HTTPS will, but at least administrators are more likely to know what theyâ€™re getting by turning it on.</p>

<p>My personal website recently moved from being HTTP-only to accepting both HTTP and HTTPS. I wasnâ€™t sure which old browsers support URIs starting with â€˜//â€™ to mean â€˜use the current protocolâ€™, so I made all internal links relative and am currently considering mechanisms to select the protocols of external links when I know the site I link to supports both protocols (which few now do). At the time of writing I still declare plain-HTTP to be the preferred â€˜Canonicalâ€™ URLs of my pages for search engines, which strongly advise you to choose a single â€˜Canonicalâ€™ URL to accumulate all ranking points from different versions of the same page; most Western search engines now use HTTPS-only anyway, so you may be tempted to say â€˜if the visitor was using a search engine then they must have equipment that can handle HTTPSâ€™, but the dominant Chinese search engine â€˜Baiduâ€™ is still on plain HTTP, and thereâ€™s no way to declare different â€˜Canonicalâ€™ URLs to different search engines (at least not without using user-agent based â€˜cloakingâ€™ which is inadvisable: they do spot-checks from other browser strings and IPs), nor is there a way to tell Google you have â€˜moved to HTTPSâ€™ without actually 301-redirecting all requests to it, which would defeat the purpose of supporting both protocols. Also, search engines tend to exclusively own their IP addresses and so donâ€™t have to worry about old browsers not supporting SNI (Server Name Indication) when checking the siteâ€™s certificate, whereas this is more likely to be an issue for a smaller site on a virtual-hosting service. So Iâ€™m still not sure when I should set â€˜Canonicalâ€™ to HTTPS, but at least Iâ€™m now supporting both protocols and will take links/bookmarks on either.</p>

<p class="bibliomixed"><a id="[B1]">[1]</a> Available to members at: <a href="https://accu.org/index.php/journals/2192">https://accu.org/index.php/journals/2192</a></p>

<p class="bio"><span class="author"><b>Silas S. Brown</b></span> is a partially-sighted Computer Science post-doc in Cambridge who currently works in part-time assistant tuition and part-time for Oracle. He has been an ACCU member since 1994.</p>
</p>
<p><strong>Notes:</strong>&nbsp;</p>
<p><em>More fields may be available via dynamicdata ..</em></p>
</div>
</channel>
</rss>
