1. A method for managing a target document, the method comprising: identifying an operation to be performed on the target document; identifying a behavior applied to the target document based on the identified operation, previous operations performed upon the target document, and activity-to-behavior patterns; determining whether the target document contains sensitive information by: determining whether a record of the target document exists in a list of records, responsive to there being no record of the target document in the list, conducting a matching to the target document, and responsive to the result of the matching, determining whether the target document contains the sensitive information; and responsive to the target document containing the sensitive information, processing the target document based on security policies corresponding to the identified behavior.