19. The storage medium of claim 8 , wherein said security policy includes requesting additional user credentials in order to allow transmission of said document.
8. A computer-readable storage medium having computer-readable code embodied on the computer-readable storage medium, the computer-readable code comprising: (a) program code for providing a document as a stream of characters; (b) program code for splitting said stream into only a plurality of non-overlapping serialized data lines, with each said serialized data line including at least two said characters; (c) program code for calculating a hash value for each said serialized data line; (d) program code for checking for each said hash value in a hash map of a template set; (e) program code for determining a similarity match to a particular template based on a predefined threshold of template hash values, of said template set, being found in said stream; and (f) program code for, based on said similarity match, executing a security policy for said document.