3 ms·
You could attach ActiveX controls to CSS properties?!? Gott in Himmel, what manner of madness was this?
by chris_wot 14y ago
You could attach ActiveX controls to CSS properties?!? Gott in Himmel, what manner of madness was this?
- pjmlp 14y agoThe same that now are allowing WebGL Shaders to be attached to CSS properties: http://www.w3.org/Graphics/fx/wiki/CSS_Shaders_Security http://www.w3.org/Graphics/fx/wiki/CSS_Shaders_Security
- marshray 14y agoI appreciate the cynicism as much as anyone, but to be fair: A. The two groups are in reality about as disjoint as any sets of CSS functionality implementers could be. B. The premise of WebGL is that it implements a security boundary. ActiveX did not.
- pavlov 14y agoThe feature was called DHTML Behaviors. Here's an introduction from 2000: http://msdn.microsoft.com/en-us/subscriptions/ms531079(v=vs.85).aspx http://msdn.microsoft.com/en-us/subscriptions/ms531079(v=vs.... Back then everything needed to tie into Win32 somehow, so of course they introduced Binary Behaviors: http://msdn.microsoft.com/en-us/library/aa753685(v=vs.85).aspx http://msdn.microsoft.com/en-us/library/aa753685(v=vs.85).as... "A Binary Element Behavior (or binary behavior) is a Component Object Model (COM) object loaded by a Web page and assigned to an element type in the page—either a custom element tag or an existing HTML tag. The COM object is then able to customize the behavior of the tag by implementing the IElementBehavior interface. Customizations include any options available to scripted behaviors and more advanced behaviors such as Windows Graphics Device Interface (GDI) rendering. Because a binary behavior is a COM object, a binary behavior can execute any code after loading. For that reason, the security profile of a binary behavior is very similar to that of a Microsoft ActiveX control, and the same security considerations apply. Binary behaviors, like ActiveX controls, run with the security credentials of the user running the browser process. This means a binary behavior cannot only render to the screen, it can also potentially access local files, configuration settings, or network resources. Accessing a page that loads a malicious binary behavior presents a considerable security risk."