A method for selectively dedicating resources for recording data exchanged between entities attached to a network including at least one agent in an enterprise, a user, and a server connected to the agent and the user, the method comprising the steps of: