Contemporary browsers allow plug-ins, which in general comprise hosted software code that interacts with the hosting browser/application to provide some desired functionality. One such plug-in is Microsoft® Silverlight™ which provides a platform that allows for development and hosting of rich web applications that often include animation, vector graphics and/or media (e.g., audio/video) content playback. A plug-in can host a third party application.
In general, this is related to a significant function of modern application development, namely componentization. A general idea behind componentization is to break up a large application in to smaller components that perform smaller portions of the larger task, are reusable and have a known interface. With componentization comes the ability for external (e.g., second or third) parties to author components for an existing application; for example, one modern web-based incarnation of this concept is a web mashup.
However, when non-first party components are used in an application, such as applications hosted by a plug-in, the trust boundary between the component and the application becomes important. A component should not be able to alter the appearance and functionality of user interface (UI) code, or monitor application data, and so forth unless the hosting application has specifically designed for this and expects it.
This Summary is provided to introduce a selection of representative concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used in any way that would limit the scope of the claimed subject matter.
Briefly, various aspects of the subject matter described herein are directed towards a technology by which one application running in a browser can host another application in a manner that prevents the hosted application from accessing host application data or the data of any other hosted application. In one aspect, the host application is a browser plug-in (e.g., Microsoft® Silverlight™) application that instantiates another plug-in that is hidden to the browser, and prevents the hosted application from accessing data by instantiating the other plug-in with disabled access to browser/hosted application data (e.g., elements) or other applications data.
In one aspect, a tag element identifies the hosted application within code (e.g., XAML) associated with the host application. A host element is added to the host application's element tree to represent the hosted application. The tag element may specify a rendering area for the hosted application. Content from the hosted application is rendered in conjunction (e.g., composited) with content from the host application.
In one aspect, the hosted application may be an advertisement. The host application may provide keywords to the hosted application, such as corresponding to page content, whereby the hosted application may select a relevant advertisement. The hosted application may be allowed to perform some privileged operations, such as to allow the hosted application to open a browser window to display website content (e.g., bring up a website when the user clicks an advertisement in the hosted application's rendering area).
Other advantages may become apparent from the following detailed description when taken in conjunction with the drawings.
The present invention is illustrated by way of example and not limited in the accompanying figures in which like reference numerals indicate similar elements and in which:
Various aspects of the technology described herein are generally directed towards an isolation model in which a first application (e.g., browser plug-in or the like) hosts a second, (typically untrusted, third party) application in an isolated manner. In general, this is accomplished by instancing a separate in-memory plug-in instance, which is unknown to the web browser, to isolate the second application. At the same time, the second application (e.g., advertisement) appears to the computer user be running as part of the hosted application, because, for example, its visible output is rendered along with the visible output of the hosting application. As will be understood, however, the hosted application does not have access to information related to the hosting application or the web browser, unless the hosting application desires to provide some information.
While Microsoft® Silverlight™ (a cross-platform, cross-browser plug-in) is used as an example of a hosting application, it should be understood that any of the examples described herein are non-limiting examples. As such, the present invention is not limited to any particular embodiments, aspects, concepts, structures, functionalities or examples described herein. Rather, any of the embodiments, aspects, concepts, structures, functionalities or examples described herein are non-limiting, and the present invention may be used various ways that provide benefits and advantages in computing and hosting applications in general.
In one implementation, an application 111 such as a third party advertisement is hosted by the host application 104 as part of a hidden (separate, and undiscoverable to the browser) plug-in 112 in a way that programmatically isolates the hidden plug-in 112 from the browser 102 and from the hosting application's data, yet allows the hosted application 111 to participate in the host application's rendering, input and layout. The rendering, input and layout are managed by the hidden plug-in 112, so that, for example, the visible output is limited to a user interface area that is reserved for the hosted application's output. Note that the hidden plug-in 112 may be another Silverlight™ plug-in, that is, another instance that is privately created (unknown to the browser) by a host Silverlight™ plug-in. Further, note that other types of plug-ins may be used, as long as they can be instantiated or otherwise configured in a manner that prevents them from any direct communication with the HTML browser, e.g., the plug-in is instantiated such that it has no access to the browser Document Object Model (DOM).
To this end, in one example implementation, there is provided a tag element (e.g., in the XAML application code 106) that identifies a source of the hosted application and represents an isolation boundary in which to instance the hidden plug-in 112 for loading the hosted (isolated) application 111:
<Canvas> <!-part of the host application-->
<XapHost Source=“http://www.advertisements.com/ad.xap” Height=“300”
Width=“350”/> <!-the isolation boundary-->
</Canvas>
The tag element is represented in
As generally represented via the example steps of
As also represented in
In one aspect, generally represented in
In another aspect also generally represented in
Another advantage is the ability to control power consumption. For example, advertisements may be a large source of power consumption in modern computer usage. With the plug-in hosting (e.g., XapHost) model, a reduced power mode may conserve power, such as by disabling animations and other power consuming operations.
Exemplary Operating Environment
The invention is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with the invention include, but are not limited to: personal computers, server computers, hand-held or laptop devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, and so forth, which perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in local and/or remote computer storage media including memory storage devices.
With reference to
The computer 410 typically includes a variety of computer-readable media. Computer-readable media can be any available media that can be accessed by the computer 410 and includes both volatile and nonvolatile media, and removable and non-removable media. By way of example, and not limitation, computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by the computer 410. Communication media typically embodies computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of the any of the above may also be included within the scope of computer-readable media.
The system memory 430 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 431 and random access memory (RAM) 432. A basic input/output system 433 (BIOS), containing the basic routines that help to transfer information between elements within computer 410, such as during start-up, is typically stored in ROM 431. RAM 432 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 420. By way of example, and not limitation,
The computer 410 may also include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only,
The drives and their associated computer storage media, described above and illustrated in
The computer 410 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 480. The remote computer 480 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 410, although only a memory storage device 481 has been illustrated in
When used in a LAN networking environment, the computer 410 is connected to the LAN 471 through a network interface or adapter 470. When used in a WAN networking environment, the computer 410 typically includes a modem 472 or other means for establishing communications over the WAN 473, such as the Internet. The modem 472, which may be internal or external, may be connected to the system bus 421 via the user input interface 460 or other appropriate mechanism. A wireless networking component 474 such as comprising an interface and antenna may be coupled through a suitable device such as an access point or peer computer to a WAN or LAN. In a networked environment, program modules depicted relative to the computer 410, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation,
An auxiliary subsystem 499 (e.g., for auxiliary display of content) may be connected via the user interface 460 to allow data such as program content, system status and event notifications to be provided to the user, even if the main portions of the computer system are in a low power state. The auxiliary subsystem 499 may be connected to the modem 472 and/or network interface 470 to allow communication between these systems while the main processing unit 420 is in a low power state.
While the invention is susceptible to various modifications and alternative constructions, certain illustrated embodiments thereof are shown in the drawings and have been described above in detail. It should be understood, however, that there is no intention to limit the invention to the specific forms disclosed, but on the contrary, the intention is to cover all modifications, alternative constructions, and equivalents falling within the spirit and scope of the invention.
This application is a continuation application of U.S. patent application Ser. No. 12/330,528, filed Dec. 9, 2008, which is incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
5974549 | Golan | Oct 1999 | A |
6028605 | Conrad | Feb 2000 | A |
6085224 | Wagner | Jul 2000 | A |
6253228 | Ferris | Jun 2001 | B1 |
6691230 | Bardon | Feb 2004 | B1 |
7020843 | Hamlett | Mar 2006 | B2 |
7343625 | Zaidi | Mar 2008 | B1 |
7950071 | Jeong | May 2011 | B2 |
20020002673 | Narin | Jan 2002 | A1 |
20020007393 | Hamel | Jan 2002 | A1 |
20030079052 | Kushnirskiy | Apr 2003 | A1 |
20030101292 | Fisher | May 2003 | A1 |
20030135504 | Elvanoglu | Jul 2003 | A1 |
20050257265 | Cook | Nov 2005 | A1 |
20060070056 | Watson | Mar 2006 | A1 |
20070011199 | Hunt | Jan 2007 | A1 |
20070118900 | Focke | May 2007 | A1 |
20070244980 | Baker, III | Oct 2007 | A1 |
20080148298 | Chatterjee | Jun 2008 | A1 |
20080155554 | Kothari | Jun 2008 | A1 |
20080184135 | Washburn | Jul 2008 | A1 |
20080209316 | Zandstra | Aug 2008 | A1 |
20080222622 | Lavoie | Sep 2008 | A1 |
20080295074 | Schneider | Nov 2008 | A1 |
20080295164 | Steiner | Nov 2008 | A1 |
20090271771 | Fallows | Oct 2009 | A1 |
20090288098 | Abd-El-Malek et al. | Nov 2009 | A1 |
20100017700 | Odean | Jan 2010 | A1 |
20100146523 | Brigaut | Jun 2010 | A1 |
20100281357 | Fu et al. | Nov 2010 | A1 |
Number | Date | Country |
---|---|---|
2000148649 | May 2000 | JP |
2005116804 | Dec 2005 | WO |
Entry |
---|
“Office Action Issued in European Patent Application No. 09836588.5”, dated Aug. 17, 2016, 5 Pages. |
“Notice of Allowance Issued in Korean Patent Application No. 10-2011-7013230”, dated Dec. 19, 2016, 2 Pages. (W/o English Translation). |
“Office Action Issued in Korean Patent Application No. 10-2011-7013230”, dated Sep. 28, 2016, 7 Pages. |
“Office Action Issued in Korean Patent Application No. 10-2011-7013230”, dated Feb. 19, 2016, 14 Pages. |
“Office Action Issued in Japanese Patent Application No. 2011-540748”, dated Feb. 9, 2016, 12 Pages. |
“Notice of Allowance Issued in Japanese Patent Application No. 2011-540748”, dated Sep. 13, 2016, 2 Pages. |
Reis, et al., “Architectural Principles for Safe Web Programs”, In ACM SIGCOMM, Nov. 2007, 7 Pages. |
“First Office Action Issued in Chinese Patent Application No. 200980150141.9”, dated May 10, 2012, 11 Pages. |
“Second Office Action Issued in Chinese Patent Application No. 200980150141.9”, dated Nov. 13, 2012, 9 Pages. |
“Notice of Allowance Issued in Chinese Patent Application No. 200980150141.9”, dated Jan. 15, 2013, 4 Pages. |
“Search Report Issued in European Patent Application No. 09836588.5”, dated Aug. 22, 2012, 12 Pages. |
“Final Office Action Issued in U.S. Appl. No. 12/330,528”, dated Mar. 7, 2012, 21 Pages. |
“Final Rejection Issued in U.S. Appl. No. 12/330,528”, dated Jan. 15, 2015, 22 Pages. |
“Non Final Rejection Issued in U.S. Appl. No. 12/330,528”, dated May 31, 2016, 23 Pages. |
“Non-Final Office Action Issued in U.S. Appl. No. 12/330,528”, dated Sep. 11, 2014, 18 Pages. |
“Non-Final Office Action Issued in U.S. Appl. No. 12/330,528”, dated Sep. 13, 2011, 18 Pages. |
“Notice of Allowance Issued in U.S. Appl. No. 12/330,528”, dated Oct. 26, 2016, 5 Pages. |
“Office Action Issued in European Patent Application No. 09836588.5”, dated Jan. 25, 2018, 8 Pages. |
“Office Action Received for Japan Patent Application No. 2011-540748”, dated Jan. 14, 2014, 4 Pages. |
“Office Action Received for Japan Patent Application No. 2011-540748”, dated May 27, 2014, 4 Pages. |
“Office Action Received in Japan Patent Application No. 2011-540748”, dated Sep. 8, 2015, 13 Pages. |
Reis, Charles, “Improving the Security and Robustness of Modern Web Browsers”, retrieved at <<http://www.cs.washington.edu/homes/creis/publications/generals-report.pdf>>, May 2007, pp. 1-15. |
Jonsson, Emil, “Rich Internet Applications for the Enterprise”, retrieved at <<http://www.diva-portal.org/smash/get/diva2:17218/FULLTEXT01.pdf>>, Dec. 7, 2007, pp. 71. |
Chatley, et al., “MagicBeans: A Platform for Deploying Plugin Components”, retrieved at <<http://chatley.com/articles/cd04.pdf>>, May 2004, pp. 15. |
Whitaker, et al., “Scale and Performance in the Denali Isolation Kernel”, USENIX Association, 5th Symposium on Operating Systems Design and Implementation, retrieved at <<http://www.cs.toronto.edu/˜demke/2227/S.14/Papers/p195-whitaker.pdf>>, Dec. 2002, pp. 15. |
“International Search Report”, dated Jun. 23, 2010, Application No. PCT/US2009/064034, Filed Date Nov. 11, 2009, pp. 3. |
Number | Date | Country | |
---|---|---|---|
20170185769 A1 | Jun 2017 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12330528 | Dec 2008 | US |
Child | 15433261 | US |