Join our Newsletter — 33% off our NHI Course
Home› FAQ› Cyber Security› What is the difference between content disarm and…
Cyber Security

What is the difference between content disarm and reconstruction and redaction for PDF security?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated November 23, 2026 Domain: Cyber Security

Content disarm and reconstruction changes the file structure to remove active content, defang links, and rebuild the document so hidden exploits are less likely to survive rendering. Redaction removes specific sensitive data such as PII, secrets, or API tokens from the content itself. Teams often need both because one reduces executable risk while the other addresses disclosure and compliance risk.

How CDR and redaction differ in PDF security

Content disarm and reconstruction works on the file structure: it removes active content, strips risky behaviours such as links or scripts, and rebuilds a safer document. Redaction works on the information itself: it permanently removes specific sensitive data from the visible and underlying content. That difference matters because one reduces exploitability, while the other reduces disclosure.

In practice, CDR is about making an incoming PDF safer to open, especially when the source is untrusted or the file may contain hidden functionality. Redaction is about ensuring that the final PDF no longer exposes material that should not leave the organisation, such as PII, secrets, contract terms, or internal identifiers. If you confuse the two, you can end up with a file that opens safely but still leaks data, or a file with sensitive data removed but still capable of carrying active code.

What each control protects against

CDR is designed for malicious or risky file behaviour. It is useful when the concern is embedded JavaScript, launch actions, forms, object streams, or other elements that can survive normal viewing and be abused when the file is rendered. A well-implemented CDR workflow turns the PDF into a safer representation of the original document, often with some loss of fidelity or functionality.

Redaction is designed for confidentiality and disclosure control. It is used when a document contains data that must not be recoverable, whether because of privacy rules, legal privilege, operational secrecy, or simple need-to-know. A proper redaction process must remove the data from the visible page and from hidden layers, metadata, comments, and other recoverable structures. If the workflow only black-boxes text visually, the information may still be extractable.

Both controls can touch the same PDF, but they answer different security questions. CDR asks, “Can this file safely exist in our environment?” Redaction asks, “Does this file still contain data we are willing to share?”

When to use one, the other, or both

Use CDR when the key risk is file-borne exploitation, especially for externally sourced documents, email attachments, uploads, or documents crossing trust boundaries. Use redaction when the key risk is information disclosure, such as publishing case files, sending reports outside a restricted audience, or sharing documents that contain tokens, account details, or personal data.

Use both when a PDF must be both safe and shareable. For example, a document might first need CDR to neutralise active content, then redaction to remove sensitive passages before distribution. The order matters: if a file is redacted without sanitising the structure, hidden content can still survive; if it is sanitised without redaction, the document may remain safe to render but still leak information.

For teams handling inbound documents, the practical decision is whether the PDF is being treated as a security threat, a privacy artefact, or both. If the file is coming from outside and will be opened internally, CDR is usually the first concern. If the file will be shared, retained, or published, redaction becomes equally important.

Risk and Threat Considerations

PDFs are attractive because they can carry both executable behaviour and hidden data. A document that looks harmless may still contain scripts, embedded files, or action objects that trigger when opened, while a redaction failure can leave recoverable text, metadata, or object remnants behind. That creates both exploitation risk and disclosure risk in the same format.

Failure mechanism: CDR that only changes the visible presentation, or redaction that only covers pixels on the page, can leave the underlying PDF structures intact. Attackers may exploit residual active content, and recipients may still recover supposedly removed information through extraction tools or document inspection.

Impact: The organisation can suffer malware execution, data leakage, privacy violations, or legal exposure from a document that was assumed to be safe. In regulated or high-trust workflows, that mistake can invalidate the whole control chain.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5SI-3 — Malicious Code ProtectionCDR is a file-threat control that reduces malicious active content in PDFs.
SC-28 — Protection of Information at RestRedaction is about preventing sensitive data from remaining recoverable in stored or shared PDFs.
AC-3 — Access EnforcementRedaction supports enforcing who may see specific information in shared documents.
Recommendation — Apply SI-3 to sanitize or inspect inbound PDFs before users open them. Use SC-28 to remove or protect sensitive PDF content before external sharing. Enforce AC-3 so only intended recipients can access non-redacted document content.
NIST CSF 2.0PR.DS-01 — Data-at-Rest is ProtectedRedaction and safe file handling both protect document data from unintended disclosure.
PR.PS-01 — Configuration ManagementCDR depends on controlled document-processing settings that strip risky PDF features.
Recommendation — Protect stored and shared PDFs so sensitive content is removed or inaccessible. Harden PDF processing pipelines to remove active content and unsafe features.

Practitioner Guidance

What to verify: Treat CDR and redaction as separate control objectives. For CDR, verify that the rebuilt PDF no longer contains active elements such as JavaScript, launch actions, embedded objects, or hidden attachments. For redaction, verify that the removed content cannot be recovered through copy-paste, text extraction, metadata inspection, or object-level parsing.

What good looks like: A safe workflow explicitly classifies documents by purpose before processing them. Inbound untrusted PDFs should pass through sanitisation controls, while outbound sensitive PDFs should pass through proper redaction review before release. When both risks exist, the file should be sanitised first and redacted in a way that is verifiable.

Common mistake: Teams often assume that a single “PDF security” control covers both malware prevention and data removal. It does not. The safest operating model is to decide whether the document needs structural disarmament, content removal, or both, and then test the result with inspection tools rather than visual review alone.

Practitioner takeaway: If your question is “can this PDF hurt us?”, think CDR; if it is “does this PDF reveal too much?”, think redaction; if it must do both, require both controls and verify each outcome independently.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 23, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org