4 ms·
> DRM will be there anyway. Be it Flash, be it something else. Then let it be Flash, so it can die with Flash. Let's not perpetuate it, or make it any easier.
by JoshTriplett 10y ago
> DRM will be there anyway. Be it Flash, be it something else.
Then let it be Flash, so it can die with Flash. Let's not perpetuate it, or make it any easier. Let a hundred competing "standards" bloom so media companies have more work to do, and might decide that DRM seems like too much trouble and decreases their target audience. Let browsers prune away support for DRM with their outdated plugin interfaces.
Don't give any one "standard" the blessing of any standards organization. And don't accept something inherently non-standard as a standard. Don't accept as a standard something completely unimplementable in a fully Open Source browser. Don't accept a standard interface to custom binary DRM implementations.
- derefr 10y agoThere aren't going to be a hundred competing standards, because the production tool ecosystem has its own working groups who will settle on a small set of standards, with or without the input of the browser vendors. The browser vendors only have a say in DRM formats insofar as providing universal support for a format entices the production-tool ecosystem to provide export-compatibility for it. If the browser-vendors refuse to provide such a standard, they're really just refusing to sit at the table where the standard is decided. In the end, there'll be a standard DRM multimedia format whether it's "endorsed" by Open Web people or not; if browsers don't build in support for it, then it'll just build support for itself, via the APIs that do exist: WebGL, WebRTC, ASM.js, etc. Consumers will get their media; they'll just be running an opaque blob of Javascript in the browser to get it, instead of the browser doing the job—cleanly—itself.
- nitrogen 10y agoThat opaque blob of JS wod be great compared to an opaque blob of binary code that has access to the GPU, which in turn has access to DMA...
- gcp 10y agoThe CDM is sandboxed in Firefox and Chrome.
- nickpsecurity 10y agoWhat does that mean in regards to parent's comment? If it renders, it went through both a graphics driver and GPU. Therefore they're in attack surface for malicious data designed to take over privileged code and/or DMA engines.
- rockdoe 10y agoThe CDM doesn't need to do any rendering, and interaction with the GPU can be limited to writing in a designated shared memory area.
- dogma1138 10y agoBecause it's isolated and there is no DMA really. There is a reason why the graphics driver is in user mode, and why the memory is virtualized. The application doesn't have traditional DMA unless you load a privileged kernel which you can't do via a browser. An application can't access the memory of another application via the display driver this is a solved issue.
- dogma1138 10y agoI suggest you read on how modern display drivers are designed, you can't cross boundaries.
- nitrogen 10y agoDesigned. Many designs fail to achieve their goals. Has there been much research into 0-days in the GPU firmware itself? Or the closed blobs that get loaded into kernel space?
- dogma1138 10y agoYes, quite a bit actually, and you also need to understand that you aren't hitting the GPU directly by any means you are going through several layers of API's each with it's own security controls, then hitting a restricted end point in a usermode driver. This is not to say that there aren't vulnerabilities in the drivers, that said the only 3 PE/CE vulnerabilities in the NVIDIA driver in the past 4+ years were not exploitable through any vectors you are suggesting since they involved NVAPI, AMD doesn't discloses vulnerabilities openly IIRC. To exploit a vulnerability in the manner you suggest you need to break through the sandboxing and security model of the browser, break the sandboxing and security model of the web API you are using e.g. WebGL break through the security model and sandboxing of the actual API e.g. DirectX on Windows, break through the sandboxing and security model of the user mode driver, and then exploit a vulnerability in a kernel mode driver that might have actual access to something you might care about. And even then it's not that simple in WDDM for example even in pure kernel mode you'll have issues accessing memory out of the bounds of your application due to how GPU resource are managed, pinned and translated. To put it simply every process accesses a "virtual GPU" through it's own endpoint, there is a zero-out process which is invoked on both the GPU and system memory when any buffer is allocated or accessed, and there is an out-of-bounds behaviour control running on the GPU independent of the driver, basically once you access (read or write) out of bound memory the GPU would terminate the loaded kernel which would crash your application and the driver would be cycled (restarted). The out of bound memory is a real annoyance anyone who's worked with GPGPU especially CUDA is pretty familiar with, it's the #1 app killer (as far as code errors go) and for good reasons, even a privileged kernel running natively on the GPU is protected from abusing it's own rights.
- syshum 10y ago>>there'll be a standard DRM multimedia format whether it's "endorsed" by Open Web people or not Open web people can not endorse DRM, once a open web persons endorses DRM they cease to be a Open Web Person.
- rockdoe 10y agoNo true Scotsman, in other words.
- syshum 10y agoNo, a No True Scotsman fallacy exclude the specific cases or others like it by rhetoric, without reference to any specific objective rule. Claiming to be a Open Web supported while also endorsing closed items like DRM, is an objective violation of the Philosophy of the open web People over use and misappropriate the charge of No True Scots Man
- nitrogen 10y agoNot quite, it's more like a vegan recommending their favorite brand of bacon. They lose their vegan superpowers.
- inimino 10y agoIt's not going to be Flash precisely because Flash is dying. It doesn't matter whether the W3C is involved or not, the companies that want this are going to make it happen. The idea that stopping a W3C standard is somehow going to stop the entire media industry getting its way on this is nothing but a fantasy. Unfortunately, many people who could bring some moderation to the discussions about DRM are still stuck in fantasy land where none of this is happening.
- nucleardog 10y agoExcept that's not what's going to happen. This problem is not going away. And if you create more "work", they'll just do what they need to to capture the majority of the market and leave a lot of users in the cold. The people this hurts aren't going to be the media companies or the normal users. The people it will hurt will be us crazies that do stuff like run Unix on the desktop or try and run unlocked Chinese Android phones, because they just won't be supported because there's no financial case for it.
- JoshTriplett 10y ago> Except that's not what's going to happen. This problem is not going away. And if you create more "work", they'll just do what they need to to capture the majority of the market and leave a lot of users in the cold. And then that'll leave a market for someone else to come along and serve.
- nucleardog 10y agoThat would be great if copyright didn't exist. If the company that owns the distribution rights to a piece of content doesn't want to support the last few percent of the market then they just won't and there's nothing anyone else can (legally) do about it unless they start further up the food chain, making their own content. And if there were enough money in those outliers for that to be profitable, then the existing content creators would probably be serving them. DRM is going to happen one way or another, and in my mind ensuring that at the very least the DRM itself has a defined interface for everyone to work against results in a more "open" ecosystem than leaving it up to backroom deals between content creators and DRM vendors who create hacky hodge-podge software.