主权项 |
1. A method for preventing tampering with the accessibility of resources specified by Universal Resource Locators (URLs) comprising:
receiving, at an anti-tampering filter, a primary URL from a web server, the primary URL being associated with a resource hosted on a separate third party server and being accessed via a first document retrieved from the web server by a client; creating, at the anti-tampering filter, a unique identifier and associating, in a database, the unique identifier with the received primary URL; creating, at the anti-tampering filter, a secondary URL that includes the unique identifier;
providing, by the anti-tampering filter, the secondary URL to the web server wherein the primary URL is cross referenced to the secondary URL through the unique identifier, wherein on receipt of the secondary URL, the web server creates a modified document by replacing all instances of the primary URL with the provided secondary URL, and wherein on receipt, by the web server, of a request for the first document from the client, providing the client with the modified document so as to initiate a request by the client to the anti-tampering filter via the secondary URL of the resource at the third party server and delivering that resource from the anti-tampering filter to the client wherein the request includes, checking the database to locate the primary URL associated with the unique identifier included in the secondary URL, requesting the resource from the third party server, using the primary URL, and providing the resource to a client. |