A method and system for securely transferring data between an application
server and an agent of the application server through a non-secure node.
First, a session key between the agent and the application server is
established by utilizing a public key of the application server that is
embedded in the code of the agent. Next, an end-to-end secure connection
is established between the agent and the application server by using the
session key and by establishing a communication link between the
application server and the non-secure node by using a relay module.