Patent ID: 8732455
Filing Date: 2014-05-20
Classification: G06F,H04L,Y10S

Abstract:
1. A method of detecting source code in a message being sent over a digital communication network to secure against unauthorized leakage of source code, the method comprising: intercepting the message on a network device; placing the message into a memory on the network device; dividing the message in the memory into one or more segments, each segment including a predetermined number of lines of text from the message; for each segment, applying one or more syntax rules of a programming language to the segment together with a predetermined number of context lines of text before the segment and/or after the segment, to determine which of the syntax rules of the programming language are matched in the segment, wherein the applying of the one or more syntax rules includes providing a coefficient for each of the one or more syntax rules and applying the one or more syntax rules in an order from highest coefficient to lowest coefficient, the coefficient for each syntax rule being based at least in part on the uniqueness of that syntax rule in its programming language; and providing a determination of whether the message includes source code based on the syntax rules that were matched.