How to record a PDF redaction check without logging the secret
3 November 2026
If a redaction report repeats the words it was meant to protect, the report becomes another sensitive document. Use a harmless rule identifier, an identifier for the inspected copy and the result of each check. Keep the original and any lookup connecting the identifier to sensitive content in restricted storage. A recipient should be able to understand the decision without being able to recover the removed text from the log.
What belongs in the record?
Create two views. The restricted working record links the rule to the authorised source, the full local inspection output and the reviewer who can resolve an exception. The shareable summary contains only fields approved for its audience. A local path, filename, category or document hash can itself identify a case, so do not assume every technical field is suitable for external circulation.
| Field | Useful entry | Leave out of a shared summary |
|---|---|---|
| Rule tested | A harmless rule code and a plain description such as “searchable text checked” | The exact phrase, identifier or matching pattern containing personal data |
| Candidate | Approved opaque version reference and, where appropriate, the candidate digest | Customer names, private filenames and restricted storage paths |
| Observation | Marker present, absent or test not run, with the layer checked | Raw matching strings, snippets, copied comments and unreviewed tool output |
| Decision | Hold, checked within scope or awaiting authorisation | A blanket claim that the entire document is safe |
| Follow-up | Responsible role, next action and a restricted evidence reference | Direct access to the unredacted original |
A failed file can produce a useful safe record
In the synthetic fixture cleanup-attempt.pdf, the named native and OCR markers were no longer detected. The metadata marker remained and the inspection counted one known plaintext token in decoded objects. A reviewer can record those results and hold the candidate without pasting the matching text into an exception message. Redaction results
In release-cleaned.pdf, the same inspected marker fields were negative and the count was zero. Record the new file digest and the new test results separately from the decision about who may receive it. The two rows do not establish that either file was actually distributed or that every possible sensitive value was tested. Redaction results
Check the log itself before sharing it
Use a disposable marker during rehearsal. Trigger a failure, inspect the exported report and search the report for that marker. Check exception descriptions and attachments as well as the main table. Verify that an intended recipient can read the shareable summary but cannot follow its evidence reference into the restricted material. Record the result only after performing that access test.
If the marker appears in the log, hold the report and the candidate separately. Correcting the PDF does not remove the value from a previously generated report. Repeat both checks on the versions intended for circulation.
Part of the How to redact a PDF properly guide.
Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).
