All requests
ApprovedPublic request — anyone can read this thread

Redact personal data from a PDF so it is gone, not just covered

NCNathan ColeCorporate Counsel ·

We share signed contracts with counterparties, auditors and occasionally a court. Before they go out, a handful of things have to come off the page: personal identification numbers, home addresses, and the bank details of anyone who is not a party to that particular copy.

The problem with what we use now

Our current editor draws a filled rectangle over the text. The text is still in the file. Anyone can select it, copy it, or read it out of the raw PDF in a text editor. We have had one near-miss with a document that went to an external auditor.

What redaction has to mean here

  • The text objects are removed, not covered.
  • The page is re-rendered so nothing sits underneath the mark.
  • Metadata goes too — author, producer, and any XMP that carries a name.
  • The result still opens as a normal PDF and still prints.

Nice, but not required

Being able to redact by pattern — "every string that looks like an IBAN on every page" — would save us the most time. But a reliable manual redaction we can trust beats a clever one we have to check.

DocumentsCompliance
Progress
  1. Filed
  2. In review
  3. Approved
  4. In progress
  5. Shipped
62 people need this too
2 commentsSorted by oldest
NC

Nathan Cole, Corporate Counsel ·
The test we would run on it: redact a page, then copy-paste out of the result. If the name comes back, it did not work.

IN

Incapon ·
Approved, and that is the right test. The text objects come out and the page is re-rendered, so there is nothing underneath to select.