Agents are a popular word in programming to day and a simple concept. An agent is someone authorized to act in place of someone else. Our solution depends on agents, two agents. The simplest agent—a host agent—is an application located at the host that executes a query and obtains the results. The other agent—a remote agent—communicates with this agent and the application.
The host agent needs to be authorized. This means that the host agent must have the user's login and password so that it has the privileges of the user.