Protecting client-side code
First Claim
1. A method for protecting client-side code associated with a page, comprising:
- receiving at a processor a request for the page from a client; and
providing to the client an initial definition associated with the page, the initial definition including a call to a dedicated function for facilitating obtaining a piece of client-side code not included in the initial definition and a client-side module configured to dynamically retrieve the piece of client-side code from an associated server at runtime when the piece of client-side code is desired to be executed at the client;
wherein the dedicated function is configured to facilitate obtaining client-side code from the server as needed at the client including by;
searching for at least a portion of the client-side code associated with a desired function at the client such that in the event code associated with the desired function is not present at the client, an error is generated or an exception is thrown that is configured to cause the client-side module to dynamically obtain at runtime the piece of client-side code from the server so that the dedicated function can execute the piece of client-side code at the client,wherein the dedicated function includes arguments associated with the desired function and any parameters associated with the desired function.
9 Assignments
0 Petitions
Accused Products
Abstract
Protecting client-side code is disclosed. In some embodiments, when a request for a page is received from a client, an initial definition of the page is provided to the client wherein the initial definition includes a reference to a piece of client-side code not included in the initial definition and a code retrieval logic which, when executed at the client, results in the piece of client-side code being obtained dynamically from an associated server at runtime when the piece of client-side code is desired to be executed at the client. A client receives such an initial definition of a requested page from an associated server of the page. When an indication that the piece of client-side code is desired to be executed is received, the code retrieval logic is executed to obtain the piece of client-side code dynamically from the associated server.
-
Citations
32 Claims
-
1. A method for protecting client-side code associated with a page, comprising:
-
receiving at a processor a request for the page from a client; and providing to the client an initial definition associated with the page, the initial definition including a call to a dedicated function for facilitating obtaining a piece of client-side code not included in the initial definition and a client-side module configured to dynamically retrieve the piece of client-side code from an associated server at runtime when the piece of client-side code is desired to be executed at the client; wherein the dedicated function is configured to facilitate obtaining client-side code from the server as needed at the client including by; searching for at least a portion of the client-side code associated with a desired function at the client such that in the event code associated with the desired function is not present at the client, an error is generated or an exception is thrown that is configured to cause the client-side module to dynamically obtain at runtime the piece of client-side code from the server so that the dedicated function can execute the piece of client-side code at the client, wherein the dedicated function includes arguments associated with the desired function and any parameters associated with the desired function. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 31)
-
-
16. A method for protecting client-side code associated with a page, comprising:
-
receiving at a processor of a client a definition of the page, the initial definition including a call to a dedicated function for facilitating obtaining a piece of client-side code not included in the definition and a client-side module configured to dynamically retrieve the piece of client-side code from an associated server at runtime when the piece of client-side code is desired to be executed; receiving an indication that the piece of client-side code is desired to be executed; and executing the call to the dedicated function to facilitate obtaining the piece of client-side code dynamically from the associated server; wherein the dedicated function is configured to facilitate obtaining client-side code from the server as needed at the client including by; searching for at least a portion of the client-side code associated with a desired function at the client such that in the event code associated with the desired function is not present at the client, an error is generated or an exception is thrown that is configured to cause the client-side module to dynamically obtain at runtime the piece of client-side code from the server so that the dedicated function can execute the piece of client-side code, wherein the dedicated function includes arguments associated with the desired function and any parameters associated with the desired function. - View Dependent Claims (17, 18)
-
-
19. A system for protecting client-side code associated with a page, comprising:
-
a processor associated with a server and configured to; receive from a client a request for the page; and provide to the client an initial definition associated with the page, the initial definition including a call to a dedicated function for facilitating obtaining a piece of client-side code not included in the initial definition and a client-side module configured to dynamically retrieve the piece of client-side code from the server at runtime when the piece of client-side code is desired to be executed at the client; wherein the dedicated function is configured to facilitate obtaining client-side code from the server as needed at the client including by; searching for at least a portion of the client-side code associated with a desired function at the client such that in the event code associated with the desired function is not present at the client, an error is generated or an exception is thrown that is configured to cause the client-side module to dynamically obtain at runtime the piece of client-side code from the server so that the dedicated function can execute the piece of client-side code at the client, wherein the dedicated function includes arguments associated with the desired function and any parameters associated with the desired function; and a memory coupled to the processor and configured to provide instructions to the processor. - View Dependent Claims (20, 21, 22, 23, 24)
-
-
25. A computer program product for protecting client-side code associated with a page, the computer program product being embodied in a non-transitory computer readable medium and comprising computer instructions for:
-
receiving from a client a request for the page; and providing to the client an initial definition associated with the page, the initial definition including a call to a dedicated function for facilitating obtaining a piece of client-side code not included in the initial definition and a client-side module configured to dynamically retrieve the piece of client-side code from an associated server at runtime when the piece of client-side code is desired to be executed at the client; wherein the dedicated function is configured to facilitate obtaining client-side code from the server as needed at the client including by; searching for at least a portion of the client-side code associated with a desired function at the client such that in the event code associated with the desired function is not present at the client, an error is generated or an exception is thrown that is configured to cause the client-side module to dynamically obtain at runtime the piece of client-side code from the server so that the dedicated function can execute the piece of client-side code at the client, wherein the dedicated function includes arguments associated with the desired function and any parameters associated with the desired function. - View Dependent Claims (26, 27, 28, 29, 30, 32)
-
Specification