INTER-FRAME MESSAGING BETWEEN DIFFERENT DOMAINS
First Claim
1. In a system comprising a parent web page which is hosted in a parent domain, a child web page which is hosted in a different child domain, and a client computing device comprising a web browser, wherein the parent web page embeds hypertext markup language (HTML) content from the child web page, a computer-implemented process for cross-domain communication between the parent web page and the child web page, comprising process actions of:
- upon downloading the parent web page into the browser, constructing an IFM-frame object within the parent web page, wherein the IFM-frame object comprises a parent instantiation of a channel-control object;
upon downloading the child web page into the browser, constructing an IFM-channel object within the browser, wherein the IFM-channel object comprises a child instantiation of the channel-control object;
establishing an IFM-channel connection between the parent instantiation of the channel-control object and the child instantiation of the channel-control object; and
using the established IFM-channel connection to bidirectionally communicate text-based messages directly between the parent web page and the child web page, wherein said messages comprise commands and HTML content, and the cross-domain communication takes place completely within the web browser.
2 Assignments
0 Petitions
Accused Products
Abstract
Cross-domain communication between a parent web page hosted in a parent domain and a child web page hosted in a different child domain is provided. Upon downloading the parent page and child page into a client'"'"'s web browser, an IFM-channel connection can be established within the browser between the parent page and child page, which can be used to bidirectionally communicate text-based messages containing commands and HTML content directly between the parent page and child page. Additionally, an XML-channel connection can be established within the browser between the parent page and child page, which can be used to bidirectionally communicate text-based messages containing HTTP commands and XML content directly between the parent page and child page. This cross-domain communication of messages takes place completely within the browser.
-
Citations
20 Claims
-
1. In a system comprising a parent web page which is hosted in a parent domain, a child web page which is hosted in a different child domain, and a client computing device comprising a web browser, wherein the parent web page embeds hypertext markup language (HTML) content from the child web page, a computer-implemented process for cross-domain communication between the parent web page and the child web page, comprising process actions of:
-
upon downloading the parent web page into the browser, constructing an IFM-frame object within the parent web page, wherein the IFM-frame object comprises a parent instantiation of a channel-control object; upon downloading the child web page into the browser, constructing an IFM-channel object within the browser, wherein the IFM-channel object comprises a child instantiation of the channel-control object; establishing an IFM-channel connection between the parent instantiation of the channel-control object and the child instantiation of the channel-control object; and using the established IFM-channel connection to bidirectionally communicate text-based messages directly between the parent web page and the child web page, wherein said messages comprise commands and HTML content, and the cross-domain communication takes place completely within the web browser. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. In a system comprising a parent web page which is hosted on a website server residing in a parent domain, a child web page which is hosted on another website server residing in a different child domain, and a client computing device comprising a web browser, wherein the parent web page embeds extensible markup language (XML) content from the child web page, a computer-implemented process for cross-domain communication between the parent web page and the child web page, comprising process actions of:
-
upon downloading the parent web page into the browser, constructing an IFM-frame object within the parent web page, wherein the IFM-frame object comprises an IFM-XMLHTTP-request object; upon downloading the child web page into the browser, constructing an IFM-channel object within the browser, wherein the IFM-channel object comprises an IFM-XMLHTTP-proxy object; and using an XML-channel connection between the IFM-XMLHTTP-request object and the IFM-XMLHTTP-proxy object to bidirectionally communicate text-based messages directly between the parent web page and the child web page, wherein said messages comprise hypertext transfer protocol (HTTP) commands and XML content, and the cross-domain communication takes place completely within the web browser. - View Dependent Claims (16, 17, 18, 19)
-
-
20. In a system comprising a parent web page which is hosted in a parent domain, a child web page which is hosted in a different child domain, and a client computing device comprising a web browser, wherein the parent web page embeds HTML content from the child web page, a computer-implemented process for cross-domain communication between the parent web page and the child web page, comprising process actions of:
-
upon downloading the parent web page into the browser, constructing an IFM-frame object within the parent web page, wherein the IFM-frame object comprises a parent instantiation of an Adobe Flash LocalConnection object, constructing an iframe which hosts the child web page, making the iframe a child of the IFM-frame object, setting the width and height of the iframe equal to the width and height of the IFM-frame object, and generating an ID for an IFM-channel connection between the parent web page and the child web page which is unique within the parent domain; upon downloading the child web page into the browser, constructing an IFM-channel object within the browser, wherein the IFM-channel object comprises a child instantiation of the LocalConnection object, said instantiation comprising an allowed-domains parameter which specifies parent domains that are sanctioned by the child web page; using the parent instantiation of the LocalConnection object to send a request message to the child instantiation of the LocalConnection object requesting to establish the IFM-channel connection there-between; using the child instantiation of the LocalConnection object to, receive the request message and compare the parent domain that the request message originated from against the allowed-domains parameter, whenever the allowed-domains parameter specifies that the request message originated from a sanctioned parent domain, accept the request and establish the IFM-channel connection to the parent instantiation of the LocalConnection object that sent the request message, and whenever the allowed-domains parameter specifies that the request message originated from an unsanctioned parent domain, reject the request and prevent the IFM-channel connection from being established to the parent instantiation of the LocalConnection object that sent the request message; and using the established IFM-channel connection to bidirectionally communicate text-based messages directly between the parent web page and the child web page, wherein, said messages comprise commands, HTML content, and a unique pair of cryptographically strong random numbers which are exchanged between the parent web page and the child web page, wherein said pair of numbers are employed as IFM-session keys to enhance the security of the IFM-channel connection, and the cross-domain communication takes place completely within the web browser.
-
Specification