TPTruPDF

@trupdf/security

Security & redaction

Structural redaction · DRM · watermark · audit log

Structural removal from the PDF byte stream — not CSS overlay. Pluggable adapter so the burn can run against the bundled TruPDF document service or your own backend.

F.01 — What you get

  • No visual-only fallback: if the structural adapter is unreachable, the burn refuses.
  • Append-only AuditLogger fired BEFORE bytes are returned.
  • Watermark drawn into the content stream — survives flattening in every viewer.
  • DRMEngine permission gate with maxOpens / expiresAt enforcement.

Next step

See it in the demo

The live demo wires this feature into a full viewer. Open any PDF and try it.