Detect, Redact, Verify
An Independent Guide to Finding and Anonymizing Personal Data with the Open-Source Presidio Framework
-
- $0.99
-
- $0.99
Publisher Description
An independent, practical guide to finding and de-identifying personal data in text, tables and documents with Presidio, an open-source, MIT-licensed framework maintained by an independent community. One fictional regional insurer runs throughout: its project must remove names, contact details, card numbers, policy numbers and street addresses from claim notes before they reach a hosted language model, logs, an analytics warehouse and a vendor. You will learn how the analyzer combines recognizers, an NLP model, scores and context words, and how to read its decision process. You will write pattern recognizers with check digits, deny lists and custom recognizer classes, configure everything from reviewable files, and tune context, allow lists and thresholds without creating silent misses. Later chapters cover NLP engines and models, several languages and messy Unicode, every anonymization operator, reversible and keyed pseudonymization, data frames and JSON records, image redaction and its limits, protecting model prompts, logs and retrieval indexes, measuring precision and recall per entity type, secure deployment and operations, and how several legal systems treat anonymized and pseudonymized data. Every listing that shows output was run, including the misses. Includes a hands-on lab, a cheat sheet, review questions with answers and a glossary.