<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Redaction Notes]]></title><description><![CDATA[Redaction Notes]]></description><link>https://redactic.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 07:44:56 GMT</lastBuildDate><atom:link href="https://redactic.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Why a black box drawn on a PDF does not remove the text under it]]></title><description><![CDATA[A PDF page is a list of drawing instructions. Text is placed with one set of operators, rectangles are filled with another, and the viewer paints them in…]]></description><link>https://redactic.hashnode.dev/why-a-black-box-drawn-on-a-pdf-does-not-remove-the-text-under-it</link><guid isPermaLink="true">https://redactic.hashnode.dev/why-a-black-box-drawn-on-a-pdf-does-not-remove-the-text-under-it</guid><category><![CDATA[privacy]]></category><category><![CDATA[pdf]]></category><category><![CDATA[#gdpr]]></category><category><![CDATA[Security]]></category><dc:creator><![CDATA[Redactic]]></dc:creator><pubDate>Wed, 11 Nov 2026 16:42:23 GMT</pubDate><content:encoded><![CDATA[<p>A PDF page is a list of drawing instructions. Text is placed with one set of operators, rectangles are filled with another, and the viewer paints them in order. When someone draws a black rectangle over a name with an annotation tool or a shape, the name is still in the content stream. The viewer paints it first and the rectangle on top, so the page looks redacted while the file still carries the text.</p>
<p>Anyone who receives the file can get the name back in a few seconds: select the area and copy, run <code>pdftotext</code> on the file, or open it in an editor and move the rectangle. Search engines and AI tools that read PDFs extract the text layer and never look at the rectangle.</p>
<h2>What real redaction changes in the file</h2>
<p>A redaction that holds removes the glyphs from the content stream, removes or rewrites images that contain the same value, and then draws the black area. After that, the text layer has nothing to extract at that position. A quick test on any redacted PDF:</p>
<pre><code>pdftotext redacted.pdf - | grep -i "rossi"
</code></pre>
<p>If the name comes back, the redaction is cosmetic.</p>
<h2>The places people forget</h2>
<ul>
<li>Document properties: author, title and subject often repeat a client name.</li>
<li>Annotations and comments, which keep their author.</li>
<li>Bookmarks and the outline, built from headings that may contain names.</li>
<li>Embedded files and form field values.</li>
<li>Scanned pages, where the name is in the image and a text search finds nothing until OCR runs.</li>
<li>Earlier revisions kept by incremental saves, which a viewer does not show but a parser can read.</li>
</ul>
<p>Word and Excel have their own versions of the same problem: tracked changes, comments, hidden sheets, cell notes and custom properties.</p>
<h2>Masking for AI is a different job</h2>
<p>When the file goes to a language model, deleting the names makes the text hard to reason about. Replacing each value with a numbered label (PERSON_1, IBAN_2) keeps the relationships readable, and a map kept on your side puts the real values back into the answer. Masked text is still personal data under the GDPR for whoever holds the map, so it suits analysis inside an organisation, while files that leave for good are blacked out.</p>
<p><a href="https://redactic.eu/">Redactic</a> does both for PDF, Word, Excel and scanned documents: it removes the values from the file, cleans comments, tracked changes, hidden sheets, document properties and embedded files, and shows the result for review before download. The <a href="https://redactic.eu/features/">feature list</a> is on the Redactic site.</p>
]]></content:encoded></item></channel></rss>