Tech
The black box in your PDF is a shape, not a delete key
There are two ways to black out a name in a PDF.
The first deletes the text and then draws a black rectangle where it used to be.
The second just draws the black rectangle.
On screen they are indistinguishable. In the file they are entirely different
documents, and in the second one every character of the name is still there —
selectable, copyable, and extractable by any PDF library in about one line of
code.
This mistake keeps reaching production in court filings, FOIA releases and...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to