Method and system for securing a third party communication with a hosting web page
View Patent ↗A method and system for securing hosting web pages from malicious third party modules. The method includes uploading a third party module to a hosting web page; validating a proxy API call received from the third party module, wherein the proxy API call includes at least a payload parameter provided by the third party module; generating an engine API call including at least the payload parameter; validating the engine API call; and executing the payload parameter if the engine API call is validated.
1. A method for securing hosting web pages from malicious third party modules, comprising:
uploading a hosting web page to a client device, wherein the hosting web page includes at least a sand-box proxy and a sandbox engine, the hosting web page is a mashup web page;
uploading a third party module to the hosting web page;
validating a proxy application programming interface (API) call received from the third party module, wherein the proxy API call includes at least a payload parameter provided by the third party module;
generating an engine API call including at least the payload parameter;
validating the engine API call; and
executing by the sand-box engine over the hosting web page the payload parameter if the engine API call is validated.
2. The method of claim 1 , wherein the validation of the proxy API call is performed by the sand-box proxy.
3. The method of claim 2 , wherein validating the proxy API call further comprising:
checking the contents of the payload parameter against at least one validation rule being selected from a set of predefined rules.
4. The method of claim 3 , wherein the payload parameter includes at least an executable script.
5. The method of claim 4 , wherein an engine API call is generated by the sand-box proxy to include at least the payload parameter of a validated proxy API call.
6. The method of claim 2 , wherein the validation of the engine API call is performed by the sand-box engine.
7. The method of claim 6 , wherein validating the engine API call further comprising:
checking the contents of the payload parameter against at least one validation rule being selected from a set of predefined rules; and
checking if the engine API call received from a known sand-box proxy.
8. The method of claim 1 , wherein the third party module is at least an online advertisement downloaded from a third party server.
9. A non-transitory computer readable medium having stored thereon computer executable code when executed by a client causing the client to perform the process of securing hosting web pages from malicious third party modules, the client comprises at least a processor and the readable medium, the process comprising:
uploading a hosting web page to a client device, wherein the hosting web page includes at least a sand-box proxy and a sandbox engine, the hosting web page is a mashup web page;
uploading a third party module to the hosting web page;
validating a proxy application programming interface (API) call received from the third party module, wherein the proxy API call includes at least a payload parameter provided by the third party module;
generating an engine API call including at least the payload parameter;
validating the engine API call; and
executing by the sand-box engine over the hosting web page the payload parameter if the engine API call is validated.