How to check an attachment after redacting a PDF page
3 November 2026
A reviewer removes a sensitive reference from a page. The supporting file that supplied it may still be embedded in the PDF. Check the attachment explicitly on the saved release candidate. If the receiving party should not see it, hold the copy until you can account for that file. A page that looks correct cannot settle the attachment question.
Where the attachment marker survived
In a synthetic test, the original, the overlaid copy and the page-redacted copy all tested positive for a known attachment marker. The two page-text markers had already disappeared from page-redacted-only.pdf. That result shows why an attachment check is a distinct release step. Redaction results
| Saved file | Is the known attachment marker present? | What the result supports |
|---|---|---|
synthetic-original.pdf | Yes | Positive control for the marker. |
page-redacted-only.pdf | Yes | Page-only redaction left the attachment marker detectable. Hold this candidate. |
cleanup-attempt.pdf | No | The marker was no longer detected, but the sheet still records one known plaintext token in decoded objects. |
release-cleaned.pdf | No | This file passed the recorded marker check. The row does not list all embedded files or enumerate everything they might contain. |
Each digest in the sheet belongs to a particular synthetic PDF. Record the digest of your own release candidate. Matching the example’s digest would only identify the same example bytes. It would be the wrong acceptance criterion for a different document. Redaction results
Decide whether the attachment is allowed
Before processing, ask the document owner to mark each supporting file permitted or excluded for the intended recipient. Record the container PDF, the attachment name where available and the decision. A fixture marker helps demonstrate whether the inspection method works, but a real attachment inventory needs to address unmarked files as well.
- Open or inspect the candidate’s attachment collection using an approved tool. Check whether the excluded attachment itself remains, even if its filename has changed.
- If it remains, stop release of that candidate. Return it to the operator with the location of the evidence and the intended handling. If the attachment must stay, it may require its own reviewed derivative and a fresh authorisation.
- Save the corrected candidate to a separate file. Reinspect it independently. Record the new digest, observed attachment state and reviewer decision. If your tool cannot inspect the collection, record the result as unresolved.
A useful closure entry says which attachment was excluded or authorised and which saved version was inspected. A blank annotation panel or a negative search on the visible page cannot substitute for that entry.
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).
