r/programming • • Feb 23 '19

Microsoft Edge lets Facebook run Flash code behind users' backs

https://www.zdnet.com/article/microsoft-edge-lets-facebook-run-flash-code-behind-users-backs/
1.5k Upvotes

113 comments sorted by

View all comments

Show parent comments

-1

u/-jp- Feb 23 '19

Hm. Is it not though? Just for sake of argument, say that we always immediately quit using "x" whenever we found out x was insecure (assuming of course that it's some fundamental thing that can't just be fixed.) The only bad thing that happens is x stops working, and everybody has to fix whatever they made that depends on it. Hardly the end of the world.

18

u/andsens Feb 23 '19

cough, Spectre,cough

2

u/gotnate Feb 23 '19

for the sake of /u/-jp-'s argument, we would have quit using speculative execution in the 1990s, and Spectre wouldn't be a thing.

2

u/-jp- Feb 23 '19

Just to be clear, I'm kinda coming at this from a "if we prioritized security above other considerations, what's the worst that would happen" angle. Reason being that there's a lotta bad actors out in the world and it takes just one to wreck you, and they don't even have to have it in for you specifically. I love all them old Flash animations, but I don't love 'em that much.

0

u/[deleted] Feb 23 '19

[deleted]

1

u/-jp- Feb 23 '19

Maybe. Like if you're saying browsers are insecure in a way that can never be fixed, sure. I think we can agree that's not the case but you know, for sake of argument, if it were obviously we'd be better off coming up with something else than just gritting our teeth and resigning ourselves to getting owned forever.

2

u/slobcat1337 Feb 24 '19

Computers in general are insecure we have decades of technology layered on a fundamental platform that was designed by hippies to be open as much as possible. Even the idea of passwords put some of these MIT guys off In the 60s.

Fast forward to 2019 and every single thing we do now relies on this underlying technology. I am a web developer and I think http - server side / client side scripting (how basically every website works) is inherently insecure as it opens so many potential avenues of attack it’s almost impossible to make it “inherently secure” that’s actually been exasperated by the fact most decent sized apps now rely on 30+ third party libraries. We do our best, but when you layer hundreds of layers/abstractions of code on top of each other it starts to get hard to predict things.

So what’s left is to just scrap it all and start again which is also impossible in my opinion.

Linus Torvalds (the dude who built the Linux kernel) even says in one of his rants, if we were to try and account for every potential “remote-chance” vulnerability in our development, nothing would ever be developed.

There will always be browser zero days, there is no such thing as inherently secure when it comes to computers on the internet.

We do our best to mitigate it but I see no alternative.

0

u/[deleted] Feb 23 '19

[deleted]

1

u/-jp- Feb 23 '19

I get your point but I guess I draw a distinction between easily replaceable software and stuff we all physically need to... you know... exist. That seems reasonable right?

0

u/[deleted] Feb 23 '19

[deleted]

1

u/-jp- Feb 23 '19

You do know one of the most infamous viruses in history targeted, of all things, air-gapped nuclear centrifuges right? You know that the infotainment systems in cars have vulnerabilities that allow them to be attacked remotely right? You know that the very companies that make the smart appliances you're talking about hoover up whatever information they care to right?

Of course it's replaceable. Heck forget replaceable, we've only even had that stuff for like twenty years or so. And need I remind you this article is about a technology used mostly for annoying advertisements and Newgrounds cartoons about poop. I'm frankly a little stunned anyone's even defending it. I remember when Flash was pretty universally despised by anyone remotely tech savvy. And that was back when there wasn't even a good replacement for it.

Look, like by all means if you're an aficionado of early 21st century websites keep a browser that can run Flash around, nobody's saying you can't. That doesn't mean we should just ignore the very real hazard of it being bundled and enabled by default just so Facebook of all companies doesn't hafta rewrite whatever they use that depends on it. That's just nuts.

0

u/[deleted] Feb 24 '19

[deleted]

1

u/-jp- Feb 24 '19

Not gonna front, I do love to hear myself talk. :)