Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment Re:Spyware on my GPU (Score 1) 200

It's true that theoretically shaders can't do much, but shader compilers are imperfect, and since GPUs have no hardware memory protection, compiler or driver bugs could easily result in read/write access to arbitrary video memory, allowing a shader to directly read/write the contents of your screen, or corrupt important data structures to exploit the kernel-mode part of the video driver and gain complete system access.

Video drivers are complex and notoriously buggy gobs of code which run partially in kernel mode and were designed for speed, not security. Allowing any random webpage to make DirectX/OpenGL calls directly (even without shaders) is a huge security concern.

Comment Evidence (Score 5, Insightful) 256

It would be easy enough to prove that CNNIC is performing man-in-the-middle attacks. To perform a man-in-the-middle attack on (for example) gmail, CNNIC would have to send a fraudulent certificate to users. That certificate would be ironclad evidence that CNNIC can't be trusted, so all someone has to do is present one.

Comment Re:So what will happen in practice? (Score 1) 687

Yes! In fact the client does have every CA cert already loaded on its hard drive. Every browser comes with a list of CA certs that it accepts; other CA certs are simply not accepted. At no point is any CA cert downloaded over the Internet (except as part of a browser installation package, but if China were tampering with these it would have been noticed by security researchers). This is how SSL gets its resistance to man-in-the-middle attacks; it all comes from the preinstalled list of trusted root CAs.

Consider yourself educated. SSL is not vulnerable to man-in-the-middle attacks.

Comment Re:So what will happen in practice? (Score 2, Informative) 687

No, SSL is not vulnerable to man-in-the-middle attacks. The attack you describe only works as an attack on the certificate authority itself. It can only work if the Chinese government possesses the private keys of a CA which is in the default "trusted" list of the user's web browser. If the user knows which CA is compromised in this way, they can remove that CA from their trusted list and the attack will no longer work.

Do you know if any Chinese CAs come preinstalled in popular browsers? I don't think they do.

Comment Re: vs. (Score 1) 372

In what way is Quicktime et al. "platform specific" while Flash is not?

Quicktime runs on two platforms: OS X and Windows, and many Windows machines don't have it. It sorta runs on iPhone but the codec support and user interface is completely different. Flash runs on four platforms: OS X, Windows, Linux, and Solaris, and is commonly installed on all of them. Flash isn't as cross-platform as the web itself, but it's better than any other video plugin.

As for your "et al." Windows Media player is obviously platform specific, and there are no other widely-deployed video plugins. Also, the WMP plugin for non-IE browsers is no longer shipped with Windows as of Vista.

The interface of every web-page is browser and user-specific. I don't see the problem.

Not sure what you mean by that. Sure, there are differences between browsers, but they're nothing like the differences between Quicktime and Windows Media Player.

In fact, it seems a huge advantage that users can choose their own interface.

So you're seriously suggesting that instead of the video tag we should have many competing video plugins with different UIs, APIs, and supported codecs, which users should choose and install based on their preference, and then every website should support all of them to enable user choice? Now that I think about it, I guess that's actually a pretty accurate description of the way things worked before Flash video. Minus the "every website should support all of them" because that never happened.

A) Baseless nonsense.
B) Flash is an embedded plugin. It certainly can certainly do all of the above things.
C) There's no reason to assume the video tag can't an wont do the above.
D) Even if you get rid of plugins for video, you'll still have plugins for other file types.

A) You're entitled to your opinion, but you're wrong.
B) Flash can and does do all of these things; that's why the video tag is better than Flash. However, Flash does have the advantage over other video plugins because it's so widely used it's almost always already in RAM before the user visits your page, so you don't get the loading delay.
C) The reason to believe it won't is that it doesn't. Have you even tried it?
D) Complete non sequitur. I'm sorry, but the video tag doesn't feed the hungry or bring world peace either.

That's a nice checklist of worthless features that nobody will ever actually use. Fullscreen and positioning have always worked fine with plugins.

A quick Google search for "flash z-index" will prove you wrong. I can only assume you've never written a lot of code dealing with plugins because frustrations and limitations are everywhere. Also, the Quicktime plugin doesn't support fullscreen at all. Never has. The WMP plugin does, but the default UI doesn't even provide a button for it. You just have to know to double-click or right-click.

And now, you have 3 different versions of the flash player, with 3 different supported codecs to deal with.

According to Adobe, >90% of browsers have Flash 10 with H.264 installed. >99% of browsers have Flash 9 with at least VP6, and some number in between (likely on the high end) have Flash 9 with H.264. That's only 2 codecs you need to worry about, and in reality likely only one.

Comment Re: vs. (Score 2, Insightful) 372

You asked for it...

Playing video in an embed tag requires the user to have a platform-specific plugin installed. The user interface you get depends on the specific plugin used and can only be customized in a plugin-specific way. The Javascript API offered by the player is also plugin-specific and probably not as useful as the standard API provided by the video tag. Loading the plugin will often freeze the user's browser for several seconds and/or cause crashes. Plugins don't play nice with CSS opacity and z-order and are often buggy with respect to positioning, resizing, full-page zoom, and DOM manipulation. New advanced CSS features like transforms and animation are not likely to play nice with plugins either.

Flash took over from embed because it provided a customizable UI, consistent API, workable fullscreen mode, and reliable codec support. The video tag has the first two of these and is likely to get fullscreen support soon. Unfortunately codec support is a sticking point...

Comment Re:VRML (Score 1) 239

The difference is VRML sucked. OpenGL doesn't suck.

If you want more detail: VRML was based on a scene graph. Scene graph APIs have proven over time to be the Wrong Way to do real-time graphics. They are complex to implement, inflexible, and slow. The alternative is immediate mode rendering APIs like OpenGL and Direct3D, which are fast, flexible, and relatively simple to implement, and have been very successful. For an analogy to 2D graphics, VRML is like SVG, while OpenGL is like the Canvas element in HTML 5.

Comment Re:TV screens still have a long way to go (Score 1) 173

The difference in quality you saw was due to the LCD panel, not the backlight. There's a very wide range of quality in LCD panels, and the make of the display does not necessarily indicate the quality. Manufacturers usually buy their panels from third parties, and in some cases even displays with the same model number can have different panels.

Even good LCD panels have nowhere near enough dynamic range to be properly called "HDR", let alone a 5 million to one contrast ratio.

Comment Re:TV screens still have a long way to go (Score 1) 173

I didn't mean that it would be *actually* as bright as the sun; that would obviously be dangerous :-) There's a big difference between "uncomfortable to stare at" and "as bright as the sun".

Also, though defining HDR solely in terms of contrast ratios is pedantically correct, it isn't actually useful since any emissive display that can turn off completely has an infinite contrast ratio when viewed in darkness. I wouldn't call such a display "HDR" unless its peak brightness level at least matched other common displays.

Slashdot Top Deals

All seems condemned in the long run to approximate a state akin to Gaussian noise. -- James Martin

Working...