A method for processing resource requests provided to an intermediate server from a client via a computer network, said method comprising: receiving a resource request for a particular resource, the resource request being received by the intermediate server from the client via the computer network; extracting an identifier associated with a destination server from the resource request; requesting, based on the identifier, the particular resource from the destination server; receiving, in response to the request, the particular resource from the destination server; modifying the particular resource to redirect internal resource requests to the intermediate server, where modifying of the particular resource modifies at least one source file address within the particular resource, the at least one resource address pertaining to an applet; sending the modified particular resource to the client; receiving, from the client, an applet code request for an applet identified within the modified particular resource; requesting, in response to the applet code request, applet code for the applet from a remote server via the computer network; receiving the applet code from the remote server in response to said requesting of the applet code; modifying the applet code to insert a security identifier into the applet code and to redirect its external communications through the intermediate server, the inserted security identifier identifying a destination server with which the applet communicates; maintaining, by the intermediate server, a table of security identifiers, each security identifier in the table of security identifiers identifying a destination server with which an applet is permitted to communicate; and sending the modified applet code to the client. receiving a resource request for a particular resource, the resource request being received by the intermediate server from the client via the computer network; extracting an identifier associated with a destination server from the resource request; requesting, based on the identifier, the particular resource from the destination server; receiving, in response to the request, the particular resource from the destination server; modifying the particular resource to redirect internal resource requests to the intermediate server, where modifying of the particular resource modifies at least one source file address within the particular resource, the at least one resource address pertaining to an applet; sending the modified particular resource to the client; receiving, from the client, an applet code request for an applet identified within the modified particular resource; requesting, in response to the applet code request, applet code for the applet from a remote server via the computer network; receiving the applet code from the remote server in response to said requesting of the applet code; modifying the applet code to insert a security identifier into the applet code and to redirect its external communications through the intermediate server, the inserted security identifier identifying a destination server with which the applet communicates; maintaining, by the intermediate server, a table of security identifiers, each security identifier in the table of security identifiers identifying a destination server with which an applet is permitted to communicate; and sending the modified applet code to the client.