anonym.legal

By · Last updated 2026-06-05

Terug naar BlogTechnisch

6 weken naar 3 dagen: beheerde PII-installatie

Healthcare SaaS-teams besteden 6 weken aan zelf-gehoste Presidio-productie-implementatie voordat ze overstappen op een beheerde API. De beheerde API vervangt de gehele DevOps-inspanning.

June 5, 20267 min lezen
managed PII APIPresidio productionPHI anonymizationhealthcare SaaSbuild vs buy

Van zes weken DevOps-pijn naar een 3-daagse integratie

Bijgewerkt voor 2026.

Zes weken. Twee engineers. Vier mislukte implementatiepogingen. Eén healthcare SaaS-team besteedde dit allemaal aan een zelf-gehoste Presidio-setup. Daarna schakelden ze over op een beheerde API. De overstap duurde 3 dagen.

Het "gratis" label op open-source software is verleidelijk. De belofte van volledige controle ook. Maar de werkelijke kosten blijken in engineeringtijd.

Wat de zes weken omvatten

Week 1–2: Omgevingsinstallatie

Docker-conflicten. Python-versie-incompatibiliteiten. spaCy-model download-fouten. De engineers gingen GitHub Issues door. Elke oplossing introduceerde een nieuwe afhankelijkheidsconflict.

Week 3–4: Entiteitsconfiguratie

Presidio's standaard entiteiten detecteerden geen ziekenhuisspecifieke MRN-formaten. De engineers schreven aangepaste recognizers. De custom recognizers produceerden te veel valse positieven. Tuning kostte extra tijd.

Week 5–6: Productietest en debug

Het systeem werkte in staging. In productie was de latency te hoog. Documenten die te groot waren voor de batch-instellingen mislukten. Meer tuning.

Na zes weken: nog niet productie-klaar.

De beheerde API-integratie

Dag 1: API-sleutel instellen, documentatie lezen Dag 2: SDK integreren in de bestaande pijplijn Dag 3: testen, valideren, in productie zetten

Code voor de integratie:

from anonym_legal import AnonymClient
client = AnonymClient(api_key=os.environ["ANONYM_API_KEY"])

def process_clinical_note(note_text):
    result = client.anonymize(
        text=note_text,
        preset="hipaa-safe-harbor"
    )
    return result.anonymized_text, result.audit_log

Geen Docker. Geen spaCy-modellen. Geen aangepaste recognizers. De beheerde API behandelt de HIPAA Safe Harbor-entiteiten inclusief ziekenhuisspecifieke configuratie via het preset-systeem.

Wanneer zelf-hosten zinvol is

Zelf-hosten heeft zijn plaats voor teams die:

  • Volledige controle over het detectiemodel vereisen
  • Geen gegevens extern kunnen sturen
  • Een dedicated ML-team hebben voor onderhoud

Voor teams die compliance vandaag nodig hebben, niet na zes weken implementatiewerk, is de beheerde API de juiste keuze.

Klaar om uw gegevens te beschermen?

Begin met het anonimiseren van PII met 285+ entiteitstypen in 48 talen.

About this page

We update this page when our platform or the law changes.

Read our founder note for how we work.

Each change shows up in the timestamp at the top.

Related reading

We follow these rules

  • GDPR (EU 2016/679).
  • ISO/IEC 27001:2022.
  • NIS2 (EU 2022/2555).
  • HIPAA safe harbor under 45 CFR § 164.514(b)(2).

Our promise

We do not sell your data.

We do not train models on your text.

We store your files in Germany.

You can delete your account at any time.

You own your work.

Where we run

Our servers live in Falkenstein, Germany.

We use Hetzner. They hold ISO 27001 certification.

All data stays in the EU.

Backups run every day.

Need help?

Email support@anonym.legal.

We reply within one business day.

How we test

We run a full check suite on every release.

Each surface gets its own sweep script and report.

Human reviewers spot-check the output each week.

We track recall and precision on a labelled set.

Bad runs block the deploy.

What we never do

  • We never sell your information to third parties.
  • We never train models on what you upload.
  • We never keep your work after you delete it.
  • We never share keys with any outside firm.
  • We never run ads inside the product.

Plans in plain words

We sell credits, not seats.

One credit covers one short job.

Long jobs use a few credits each.

You can top up at any time.

Unused credits roll over each month.

Read the plans page for current rates.

Who built this

A small team of engineers and lawyers built this.

We ship from Europe and work in the open.

Our founder note spells out why we started.

Where to start

How the parts fit

A browser add-on cleans text inside Chrome.

A Word plug-in handles drafts in Office.

A small desktop tool works on whole folders.

An agent protocol link feeds large models safely.

All four share one core engine and one rule set.

Words from our team

We started this work after a lunch about cookies.

One friend kept getting odd ads on her phone.

We asked why a court file leaked through a draft.

We sketched the first build on a napkin that week.

By month three we had a tiny demo for a friend.

She used it on her first case the next day.

Common questions we hear

Can the tool read scanned PDFs? Yes, with OCR.

Does it work on long files? Yes, in small chunks.

Can I roll my own rule set? Yes, save it as a preset.

Does it run offline? The desktop build runs offline.

Do you keep my files? No, the cloud build wipes after each run.

Will it learn from my work? No, we never train on inputs.

A short tour of the workflow

Upload a file or paste a snippet of prose.

Pick the entities you want gone from the draft.

Choose a method: replace, mask, hash, encrypt, or redact.

Press run and watch the side panel show each hit.

Skim the result and tweak any rule that misfired.

Save the cleaned file or send it to a teammate.