Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Active x


Published on

Published in: Technology
  • Be the first to comment

Active x

  1. 1. ActiveX 49871013 黃逸德
  2. 2. ActiveX <ul><li>ActiveX is a framework for defining reusable software components in a programming language independent way. Software applications can then be composed from one or more of these components in order to provide their functionality. </li></ul><ul><li>It was introduced in 1996 by Microsoft as a development of its Component Object Model (COM) and Object Linking and Embedding (OLE) technologies and is commonly used in its Windows operating system, although the technology itself is not tied to it. </li></ul>
  3. 3. ActiveX <ul><li>Many Microsoft Windows applications — including many of those from Microsoft itself, such as Internet Explorer , Microsoft Office , Microsoft Visual Studio , and Windows Media Player — use ActiveX controls to build their feature-set and also encapsulate their own functionality as ActiveX controls which can then be embedded into other applications. Internet Explorer also allows embedding ActiveX controls onto web pages . </li></ul>
  4. 4. ActiveX controls <ul><li>ActiveX controls — small program building blocks — can serve to create distributed applications that work over the Internet through web browsers. Examples include customized applications for gathering data, viewing certain kinds of files, and displaying animation. </li></ul><ul><li>One can compare ActiveX controls in some sense to Java applets : programmers designed both of these mechanisms so that web browsers could download and execute them. However, they also differ: </li></ul>
  5. 5. ActiveX controls <ul><li>Java applets can run on nearly any platform, while ActiveX components officially operate only with Microsoft's Internet Explorer web browser and the Microsoft Windows operating system . [2] </li></ul><ul><li>Programmers can grant to ActiveX controls a much higher level of control over Windows than Java applets ever achieve, making them more powerful but also potentially more dangerous. </li></ul>
  6. 6. ActiveX controls <ul><li>Malware , such as computer viruses and spyware , can be accidentally installed from malicious websites using ActiveX controls ( drive-by downloads ). </li></ul><ul><li>Programmers can write ActiveX controls in any language that supports COM component development, including the following languages/environments: </li></ul><ul><li>Common examples of ActiveX controls include command buttons , list boxes , dialog boxes , and the Internet Explorer browser. </li></ul>
  7. 7. History <ul><li>Faced with the complexity of OLE 2.0 and with poor support for COM in MFC , Microsoft rationalized the specifications to make them simpler, and rebranded the technology as ActiveX in 1996. [5] [6] Even after simplification, users still required controls to implement about six core interfaces. In response to this complexity, Microsoft produced wizards , ATL base classes, macros and C++ language extensions to make it simpler to write controls. </li></ul>
  8. 8. History <ul><li>Starting with Internet Explorer 3.0 (1996), Microsoft added support to host ActiveX controls within HTML content. If the browser encountered a page specifying an ActiveX control via an OBJECT tag , it would automatically download and install the control with little or no user intervention. This made the web &quot;richer&quot; but provoked objections (since such controls only ran on Windows) and security risks (especially given the lack of user intervention). Microsoft subsequently introduced security measures to make browsing including ActiveX safer [7] </li></ul>
  9. 9. History <ul><li>digital signing of installation packages ( Cabinet files and executables) </li></ul><ul><li>controls must explicitly declare themselves safe for scripting </li></ul><ul><li>increasingly stringent default security settings </li></ul><ul><li>Internet Explorer maintains a blacklist of bad controls </li></ul>
  10. 10. ActiveX in non-IE applications <ul><li>It may not always be possible to use Internet Explorer to execute ActiveX content (e.g. on a WINE installation), nor may a user want to. </li></ul>