A method and system for detecting whether an outgoing communication
contains confidential information or other target information is
provided. The detection system is provided with a collection of documents
that contain confidential information, referred to as "confidential
documents." When the detection system is provided with an outgoing
communication, it compares the content of the outgoing communication to
the content of the confidential documents. If the outgoing communication
contains confidential information, then the detection system may prevent
the outgoing communication from being sent outside the organization. The
detection system detects confidential information based on the similarity
between the content of an outgoing communication and the content of
confidential documents that are known to contain confidential
information.