Patent ID: 8225371

Claim:
A method comprising: identifying, by a computer system, one of a plurality of policy templates, wherein each of the plurality of policy templates includes information for creation of one or more policies for preventing use-restricted content from being sent over a network and a plurality of rules specifying conditions that trigger a policy violation; identifying, by the computer system, source data having a tabular structure, the source data including a plurality of data elements having the use-restricted content; and automatically creating, by the computer system, a first policy based on the identified policy template and the source data, wherein creating the first policy comprises comparing sets of columns specified in the plurality of rules of the policy template to columns of the source data, wherein the first policy is used for preventing presence of the plurality of data elements in a message sent by a user over the network, the plurality of data elements having the use-restricted content and being from the tabular structure of the identified source data, the first policy triggering an action involving the message upon detecting, in the message being sent by the user, information matching the plurality of data elements having the use-restricted content from the tabular structure of the identified source data.