SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to perform basic document sanitization tasks in Sharepoint 2010 or 2013? I would like to be able to trigger the sanitization task based on a set of user defined rule. Examples of content I would like to remove are references to customer names/contract values for documents in the library. I do not want redaction. For example, I want all specific customer names to be replaced with generic names such as (customer) and all numeric values representing contract amounts with a generic text such as (contract amount).

share|improve this question

This could be done with custom code in an event receiver but it will likely to difficult to get it exactly right. For example how would the program determine a contract amount from any other amount?
Even then you will want someone manually reviewing (at least some of) the documents to make sure the program did not miss anything.
In the long run, unless you have a ton of documents to go through you are better off setting up a workflow that assigns someone a task to review each document that gets added (and maybe changed).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.