Stories
Slash Boxes
Comments

SoylentNews is people

posted by janrinok on Tuesday May 08 2018, @11:56PM   Printer-friendly
from the ain't-no-control dept.

Submitted via IRC for SoyCow3941

We think of our job as controlling the user's experience. But the reality is, we control far less than we imagine.

Last week, two events reminded us, yet again, of how right Douglas Crockford was when he declared the web "the most hostile software engineering environment imaginable." Both were serious enough to take down an entire site—actually hundreds of entire sites, as it turned out. And both were avoidable.

[...] The first of these incidents involved the launch of Chrome 66. With that release, Google implemented a security patch with serious implications for folks who weren't paying attention. You might recall that quite a few questionable SSL certificates issued by Symantec Corporation's PKI began to surface early last year. Apparently, Symantec had subcontracted the creation of certificates without providing a whole lot of oversight. Long story short, the Chrome team decided the best course of action with respect to these potentially bogus (and security-threatening) SSL certificates was to set an "end of life" for accepting them as secure. They set Chrome 66 as the cutoff.

So, when Chrome 66 rolled out (an automatic, transparent update for pretty much everyone), suddenly any site running HTTPS on one of these certificates would no longer be considered secure. That's a major problem if the certificate in question is for our primary domain, but it's also a problem it's for a CDN we're using. You see, my server may be running on a valid SSL certificate, but if I have my assets—images, CSS, JavaScript—hosted on a CDN that is not secure, browsers will block those resources. It's like CSS Naked Day all over again.

To be completely honest, I wasn't really paying attention to this until Michael Spellacy looped me in on Twitter. Two hundred of his employer's sites were instantly reduced to plain old semantic HTML. No CSS. No images. No JavaScript.

The second incident was actually quite similar in that it also involved SSL, and specifically the expiration of an SSL certificate being used by jQuery's CDN. If a site relied on that CDN to serve an HTTPS-hosted version of jQuery, their users wouldn't have received it. And if that site was dependent on jQuery to be usable ... well, ouch!

It can be easy to shrug off news like this. Surely we'd make smarter implementation decisions if we were in charge. We'd certainly have included a local copy of jQuery like the good Boilerplate tells us to. The thing is, even with that extra bit of protection in place, we're falling for one of the most attractive fallacies when it comes to building for the web: that we have control.

Source: http://alistapart.com/article/the-illusion-of-control-in-web-design


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 3, Interesting) by Arik on Wednesday May 09 2018, @11:38AM

    by Arik (4543) on Wednesday May 09 2018, @11:38AM (#677406) Journal
    "Yes it does, it's 5, and it's plastered all over the place, even burned into the logo."

    Not the one I'm looking at.

    https://html.spec.whatwg.org/

    "version 5 is much better than version 3. The video and audio tags with the open standards of VP9 and Opus are far better than proprietary Flash crap."

    Neither version has any business being part of HTML. The Flash crap was never part of HTML, and version 5 is much worse because it brings that crap into the spec!

    "A whole lot of repetitive formatting info was moved from HTML attributes to CSS."

    Moving presentation tags to CSS is a poor substitute for eliminating them entirely.

    "I suppose you feel all video is ripe for abuse."

    I can't even imagine what you meant by that.

    "MathML, SVG, Canvas"

    You may not have intended it, but that does cover the range from OK to utter trash quite well.

    Mathml actually seems useful, I'll give you that. It really doesn't amount to much of that increased size though.

    SVG seems like an interesting experiment, it brings some of the same principles used in HTML to a graphic format, the only graphic format that I can think of that could, arguably, be described as 'human readable' and that's actually pretty cool. On the other hand, in practice it seems to be little used and not so well supported. And the inclusion of an explicitly graphic format appears to contradict the idea of device-independence, in practice if not on theory; the idea that this is human readable would evaporate very quickly in an audio browser I would imagine.

    Canvas? Fingerpaint with javascript? This is EXACTLY the kind of garbage I'm talking about! My browser is not a playpen for 'web designers!'

    --
    If laughter is the best medicine, who are the best doctors?
    Starting Score:    1  point
    Moderation   +1  
       Interesting=1, Total=1
    Extra 'Interesting' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   3