redaction

term

privacygovernance & risksecurity

Kept in this browser · My desk

Removing sensitive content from a document before release, so that it is deleted from the file rather than merely hidden from view.

The NSA's 2005 guide 'Redacting with Confidence' named the common failures: black boxes and highlighting over text, images covering text that conversion to PDF copies verbatim, and metadata that survives conversion; its rule is deletion, not redaction by covering. Office suites offer inspectors that remove comments, revisions and hidden text, but Microsoft's cannot detect white text on white or objects covered by other objects.

What it is. Redaction removes sensitive content from a document before release, so that the content is gone from the file and not merely hidden from view. The law frames it as partial release. The United States Freedom of Information Act (FOIA), 5 U.S.C. § 552(b), lists nine exemptions, from matters classified under an executive order in the interest of national defence or foreign policy (b)(1) to personnel, medical and similar files whose disclosure would be a clearly unwarranted invasion of personal privacy (b)(6), and then requires that any reasonably segregable portion of a record be provided after deletion of the exempt portions, with the amount deleted and the exemption indicated on the released portion and, if technically feasible, at the place in the record where the deletion is made. Brazil's Access to Information Law (Lei de Acesso à Informação, Law 12.527 of 18 November 2011) does the same in article 7, paragraph 2: when full access is not authorized because the information is partly secret, access to the non-secret part is guaranteed through a certificate, an extract or a copy with the secret part concealed, which is the legal basis of the Brazilian tarja. The same law caps secrecy at 25, 15 and 5 years for information classified as top secret, secret and reserved (ultrassecreta, secreta, reservada) and restricts personal information for up to 100 years.

In court filings. Federal Rule of Civil Procedure 5.2, in force since 1 December 2007, tells parties in United States federal courts that a filing may show only the last four digits of a social security number, a taxpayer-identification number or a financial-account number, the year of an individual's birth and a minor's initials. A party may also file an unredacted copy under seal, or a sealed reference list matching each redacted item to an identifier; and a person who files his or her own information unredacted and not under seal waives the protection.

The NSA lesson. The National Security Agency (NSA) published Redacting with Confidence, report I333-015R-2005, on 13 December 2005, because, as it put it, converting a Microsoft Word document to PDF (Portable Document Format) does not remove all metadata automatically, and images placed on top of text in Word are copied verbatim to PDF with the same layout. It named the common failures: black boxes and highlighting over text, which work on paper but in general not for computer documents; covering parts of images or shrinking them; and metadata and document properties, whose presence in sanitized documents has historically led to compromise. Its principle is deletion, not redaction by covering, because information hidden or covered in a computer document can almost always be recovered.

The procedure. The guide, tested with Word 2000 and Acrobat 5.0 and 6.0, sets out the steps: save a copy under a name that is not itself sensitive and keep the original as a backup; turn off Track Changes; select each chart, diagram, image or passage to be redacted and delete it, along with all comments, since resizing an image, covering it with a black box or changing the font colour will not work; where deletion would break the layout, replace text with copies of a single character, such as all Xs, and an image or chart with a grey rectangle of the same size; copy the result into a new blank document, which resets residual composition information; then convert to PDF and review the output for missed redactions.

Inspectors and their blind spots. Office suites now offer inspectors. Microsoft's Document Inspector finds and removes comments, revision marks, versions, ink annotations, document properties, hidden text, custom XML (Extensible Markup Language) data and invisible objects, but cannot detect white text on a white background or objects covered by other objects, and Microsoft advises running it on a copy, because removed data cannot always be restored.

At a security boundary. Special Publication (SP) 800-53 Revision 5 of NIST, the National Institute of Standards and Technology, of September 2020, lists redaction among the modification actions for transfers between security domains: masking, permutation, alteration, removal or redaction of non-releasable information (AC-4(23)). The United Kingdom's National Cyber Security Centre (NCSC), in its export pattern of 13 December 2019, names what a document can carry out unintentionally, track changes, comments, undo history and author details, and adds sanitization and format transformation, such as converting to a format designed for printing, to remove tracked changes and undo history. Redaction answers accidental disclosure; it does not stop malware that deliberately hides data in an export, a residual risk the NCSC names.

What goes wrong. The failures repeat the NSA's list: a box drawn over text that the text layer still contains; an image shrunk but not deleted; a metadata field or tracked change that survives conversion; white text the inspector cannot see; and the unredacted copy filed by mistake, which under Rule 5.2 waives the filer's own protection. The NSA's own first step guards against the opposite mistake: the work is done on a copy, and the original is kept as a backup.

Neighbours. Metadata stripping is the same discipline applied to the data about a file; data loss prevention (DLP) looks for sensitive content leaving by other routes; data classification decides what must be withheld in the first place; and PDF, the usual release format, is where the NSA's conversion pitfalls surface.

Also known as: document redaction, sanitized release, tarja, tarjamento

Sources

← Back to R Back to the glossary