Redaction removes sensitive content from a document or output before it is released, so that the copy which leaves the organisation no longer contains it. A name, a card number or a whole paragraph is taken out, a gap is left where it was, and the rest of the document stays readable. The original stays with the organisation, unchanged.

Organisations regularly have to hand documents to people outside, and those documents rarely arrive clean. A contract handed over in a legal case may contain a customer’s account details, and a report released to the public may name members of staff. The organisation has to release the document, but some of what is in it must not leave. Redaction is how that document is made safe to release.

Redaction is one member of the family of data obfuscation techniques, and it sits under CISSP Domain 2, Asset Security, where the ISC2 exam outline asks candidates to determine data security controls. This guide explains what redaction is, how a release is prepared, why a black box drawn over text fails, and how it differs from data masking.

What is redaction?

Redaction works on a document or output that is about to be released: the sensitive parts are removed from that copy, and the copy then leaves. A release is any moment a document leaves the organisation’s control, whether to a court, a regulator, a member of the public or another company.

Three properties define it:

  • The content is removed, not hidden. Properly done, the released copy no longer contains the redacted content anywhere, not even in hidden parts of the file.
  • A gap is left behind. The reader can see that something was withheld, and in a legal or public-records setting the organisation is often expected to say why.
  • The original stays with the organisation. The source document or database record is not changed. Only the copy being released is redacted.

How redaction works on one record

Take one customer record (sample data, not a real person or card):

FieldOriginal recordReleased copy
NameGagan Singh███████████
Card number4539 1488 0353 6467████ ████ ████ ████

A document about this customer has to be released. It starts as an exact copy of the record, and then the name and the card number are taken out, leaving solid blocks. Read as one line, Gagan Singh 4539 1488 0353 6467 becomes ███████████ ████ ████ ████ ████.

The important part is what is under those blocks: nothing. The characters were deleted, so there is nothing left in the released copy to select, copy or search, and no way to bring the real value back from it. The original record is still held in the organisation’s database, unchanged.

The release process

A careful redaction follows a set sequence, and skipping any step is where releases tend to fail:

  1. Identify. Decide what must be withheld. That is a data classification decision, which belongs to the data owner rather than to whoever happens to prepare the file; the data security roles guide explains who decides what.
  2. Remove. Delete the sensitive content from the copy itself, using a method that removes the underlying text rather than drawing something on top of it.
  3. Sanitise and flatten. Strip the parts of the file a reader does not normally see: hidden text, comments, tracked changes, earlier versions, embedded objects and metadata. Flattening turns the result into a single layer, so nothing sits underneath the visible page.
  4. Verify. Check the finished file as a recipient would, by searching it for the removed words and copying text out of the redacted areas.
  5. Approve. Someone with authority to release the document signs it off, and a record of what was withheld is kept.

Where redaction is used

Redaction is the usual answer whenever a document has to be readable once it leaves, but parts of it must not leave with it:

  • Legal disclosure, meaning documents handed over to the other side in a legal case. When this involves electronic records, the process is called e-discovery, and redaction removes protected content before the documents are handed over.
  • Freedom-of-information requests, where a member of the public asks for information a public body holds. The body releases what it must and redacts the parts it is entitled to withhold, such as personal details of third parties.
  • Regulatory submissions and published reports, where the reader needs the substance of a document but not every customer’s details.

Redaction of output

Redaction also applies to system output. A password or card number written into a log line should be removed before the log is stored or shared. A screen or export sent outside the organisation should leave out fields its recipient does not need, and an API response should drop fields the caller is not entitled to. The principle is the same as for documents: the sensitive value should not be in the output at all, rather than present and hidden from view. Controls such as data loss prevention can help catch sensitive values in outgoing documents and messages, but they do not replace a proper redaction process.

Where redaction goes wrong

Most failures come from treating redaction as a visual task rather than a data task.

A black box drawn over the text

This is the classic failure. Someone draws a black rectangle over a name in a PDF and releases the file. On screen, the name looks gone. In the file, the rectangle is a separate shape sitting on top of the page, and the text underneath can still be there. Anyone can select the area and copy the text out, or search the file for the name. Well-publicised failures of this kind have happened in court filings, where text that looked blacked out could be copied straight out of the released document. The box hides the text without removing it.

Metadata and hidden parts of the file

Even when the visible text is removed, the file can still reveal it. Metadata (hidden file details such as the author and edit history) may name the writer or show earlier versions, and comments, tracked changes and hidden text can hold the very content that was withheld. Real redaction removes the underlying text and then checks the file for hidden text, comments, tracked changes and metadata, so that anything found can be removed too.

Removing the value but leaving the context

Taking out a name is not enough if the surrounding text still identifies the person. A redacted name next to an exact job title, a rare location and a date may point to one individual, and the length of a gap can sometimes suggest a short name. The redactor has to read what remains, not just what was removed.

Editing the original instead of a copy

Redaction works on the copy being released. Redacting the master document destroys information the organisation may still need, or be required to keep. Redaction is not a way of deleting data; for that, see media sanitization and the risks of data remanence.

Redaction vs masking

Redaction’s nearest neighbour is data masking, and the two are easy to confuse because both stop the real value from reaching someone.

RedactionMasking
What happens to the valueTaken out, leaving a visible gapReplaced with a realistic fake
Is the data still usable?Readable as a document, not as dataYes, it still looks and behaves like real data
Typical useReleasing documents and output outside the organisationDevelopment, test and training copies, or limited views in production
Does the reader know something is missing?Yes, the gap shows itNot necessarily, the fake looks real
Main weaknessHiding the text instead of removing it, and forgetting metadataWeak or consistent masking can leave links back to a person

A test team that receives a database full of fake names and card numbers is using masking: the data has to keep working, so every field still holds something realistic. A court that receives a contract with the customer’s name and card number removed, and nothing under the blocks, is receiving a redacted document.

A simple rule separates them: masking replaces a value with a realistic fake so the data stays usable; redaction takes the value out and leaves a gap.

How a CISSP scenario may test redaction

Scenarios on data obfuscation tend to describe a business need and ask which technique meets it. A few patterns are worth recognising:

  • A document must be released outside the organisation, for example to a court or in reply to a freedom-of-information request, with some content withheld. That points towards redaction.
  • Blacked-out text could still be copied from a released file. A candidate is expected to see that the content was hidden, not removed, and that the fix is a redaction process that deletes the underlying text and checks the file.
  • The released file named its author or showed earlier edits. That is likely to be pointing at metadata and hidden content that the release process did not sanitise.
  • Developers need realistic data. That points towards masking, because a gap is no use to software that expects a value.
  • Logs or API responses expose sensitive values. Removing them from the output is redaction applied to output.

Asking four questions usually separates the options: does the original need to come back, who may bring it back, is the stored data changed or only what is shown, and what other data could identify the person. For redaction the answers are: not from the released copy, no one from that copy, the released copy changes while the original stays unchanged, and the surrounding text and metadata still need checking.

Conclusion

Redaction lets an organisation release a document without releasing everything in it. It removes the sensitive content from the copy that leaves, shows a visible gap, and keeps the original unchanged. The two things to remember are that a black box drawn over the text is not removal, and that a file has hidden parts, such as metadata, comments and tracked changes, that have to be checked before release.

Ready to test that under exam conditions? Our LSM CISSP practice tests are built around scenario questions like these: choosing the right data protection technique for the business need, and spotting the release that only hid what it was meant to remove, with full explanations for every answer.

Quick reference for the CISSP exam

Redaction removes sensitive content from a document or output before it is released. Properly done, the released copy no longer contains it; the original stays with the organisation.

Redaction defined

  • Works on: the copy of a document or output that is being released.
  • Changes: the released copy only; the content is removed and a gap is left.
  • Way back: none from the released copy, because the content is no longer there.
  • Purpose: releasing documents, for example legal disclosure or freedom-of-information requests.

The redaction vs masking discriminator

  • Redaction: the value is taken out and a gap is left.
  • Masking: the value is replaced with a realistic fake so the data stays usable.

The traps

  • A black box drawn over text in a PDF can leave the text underneath readable.
  • Metadata, comments, tracked changes and hidden text can still reveal the content.
  • Surrounding context can identify a person even after the name is removed.

Key takeaway

A black box that only hides the text is not redaction: properly done, redaction removes the text and checks the file for anything that could still reveal it.