Posted on March 26, 2019 by Muhammad.umar
Blog Home

Configurable Redaction using an XML File


A configuration file defines the initial or commonly used parameters, options, settings or preferences applied to operating systems, infrastructure devices or applications in an IT context.

When the Need Arises

If you have large size data (may consist of multiple files of different file formats) or corporate sensitive data which need to be redacted without specifying the rules in your code.

What is the Solution

The GroupDocs.Redaction API provides the way to define a removal policy by writing the list of pre-configured redaction rules in an XML file. Hence, you do not need to specify the rules in your code. You can have as many policies, as you need to redact your documents.

The example of redaction policy XML file is as follows:

How to Apply Redaction Policy

The example below shows:

  • how to apply the redaction policy to all files by giving inbound folder
  • Save the output files to one of outbound folders
  • The successfully updated files and failed one will save to their respected folders
  • The current date and time is used as a part of output file name
  • The successfully updated files and failed one will save to their respected folders

The complete ready to run code sample is available on GitHub.

Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin

This entry was posted in GroupDocs.Redaction Product Family and tagged Configurable Redaction, GroupDocs.Redaction for .NET, metadata redaction, Phrase redaction. Bookmark the permalink . You can follow any responses to this entry through the RSS 2.0 feed.

← Save Document Comparison Results in Image Format
GroupDocs.Viewer for .NET 19.3 is Released! →
  • Search

  • Follow Us

    RSS Facebook Twitter YouTube LinkedIn

  • Categories

    • GroupDocs.Total Product Family
      (6)
    • GroupDocs.Viewer Product Family
      (92)
    • GroupDocs.Annotation Product Family
      (60)
    • GroupDocs.Conversion Product Family
      (71)
    • GroupDocs.Comparison Product Family
      (59)
    • GroupDocs.Signature Product Family
      (58)
    • GroupDocs.Assembly Product Family
      (46)
    • GroupDocs.Metadata Product Family
      (62)
    • GroupDocs.Search Product Family
      (38)
    • GroupDocs.Parser Product Family
      (39)
    • GroupDocs.Watermark Product Family
      (28)
    • GroupDocs.Editor Product Family
      (12)
    • GroupDocs.Merger Product Family
      (24)
    • GroupDocs.Redaction Product Family
      (10)
    • GroupDocs.Classification Product Family
      (3)
    • News Release
      (3)