redaction

Removing or hiding sensitive values, such as tokens or personal data, before data is logged, displayed or shared.

In more detail

Redact at the point of logging rather than hoping nobody prints the value, and test that redaction works. Typical targets are passwords, tokens, cookies, card numbers and personal data.

Example

The course redacts in two central places rather than at every call site: a secret type whose printed form hides the value, and a logging filter that masks anything shaped like a live key.

Related terms

Taught in

References