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

296

u/evmar Feb 23 '19

I don't know anything about this particular incident, but having worked on a browser before, it's plausible that the whitelist was to keep some FB feature working while they tightened the screws on Flash, perhaps in cooperation with some promise from FB to change their site in the near future. This is not unheard of in browsers.

175

u/Otterfan Feb 23 '19

Yes, Chrome still has a vendor-negotiated Flash whitelist and I believe Firefox did at one point as well (and might have one now). The problem with Edge's vendor-negotiated whitelist is that it's an insecure implementation.

0

u/[deleted] Feb 23 '19

[deleted]

0

u/[deleted] Feb 23 '19

[deleted]

46

u/[deleted] Feb 23 '19

true, but flash is also useless by now, so...

0

u/[deleted] Feb 23 '19

[deleted]

12

u/slobcat1337 Feb 23 '19

I agree with you, unfortunately this is reddit. It’s always absolutes, as If exceptions or grey areas can’t exist.

-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.

→ More replies (12)
→ More replies (1)

6

u/Ateist Feb 23 '19

There's a ton of old flash games.

2

u/BufferUnderpants Feb 23 '19

And Homestuck. It's a gigantic work of mixed media that had simple flash games as part of it.

3

u/DoesNotTalkMuch Feb 23 '19

Show me an html5 animation/programming suite on par with flash and I'll stop using it.

3

u/scooerp Feb 23 '19

Are you working in-browser or standalone?

3

u/RedBorger Feb 23 '19

(This does not do everything Flash does, but it can do most of what Flash is used for normally)

With css, you can do a lot of basic animations, no need for even js.


Unity can also transpile to webgl, for generally better performances.

2

u/ScientificBeastMode Feb 23 '19

I hear you. But CSS can do some amazing things in terms of animation.

I would argue that animation is currently not that valuable for the web, given the huge performance limitations. But in the future, I hope to see some sensible graphic libraries compiled from lower-level languages into webassembly.

But for now, webassembly can’t interact with the DOM directly, so most web developers don’t want to deal with it. But maybe that will change soon.

→ More replies (2)

3

u/Innominate8 Feb 23 '19

Flash is not "potentially insecure", it is a well known security problem.

6

u/DLSteve Feb 23 '19

Not always an option. We have an internal application that uses Flash, the vendor is actively rewriting the UI to use HTML 5 but they are a small shop and the front end is not a trivial refactor so it takes time. It’s also not really an option to move to a different software package as it’s very specialized and there are only a few options each with their own drawbacks. Right now I’m just hoping that they finish the HTML5 rewrite before the browsers kill Flash entirely.

2

u/catskul Feb 23 '19

Aren't there packages that automatically convert flash to html5 + JavaScript?

2

u/DLSteve Feb 23 '19

For very basic Flash applications, anything more complex with lots of server/client communication has to be rewritten from the ground up.

7

u/echoAwooo Feb 23 '19

And there are plenty of alternatives to it.

4

u/[deleted] Feb 23 '19

Some nice porn games tho

→ More replies (8)
→ More replies (2)

64

u/myringotomy Feb 23 '19

The point is that even if you turn off flash it continues to work without telling you.

→ More replies (5)

10

u/LucasRuby Feb 23 '19

It works fine in Firefox without flash, so I'm gonna say it's not.

→ More replies (6)

2

u/zomgitsduke Feb 23 '19

I feel conflicted about this. A web browser should just work regardless of the site. No one should have special privilege

2

u/[deleted] Feb 23 '19

I think initial support for FB notification sounds was via Flash.

→ More replies (4)