By · Last updated 2026-05-28

Access Control Policy

Document ID: ISMS-POL-002
Version: 1.1
Effective Date: December 30, 2025
Review Date: December 30, 2026
Classification: Internal
Last Updated: v4.2.0 - Admin Plan Management

1. Purpose#

This policy establishes the requirements for controlling access to anonym.legal systems, applications, and data. It ensures that access is granted based on business need and principle of least privilege.

2. Scope#

This policy covers:

  • User account management
  • Authentication mechanisms
  • Authorization and role-based access
  • Plan-based feature access
  • API access controls
  • Administrative access

3. User Account Management#

3.1 Account Creation#

  • Accounts created via self-registration with email verification
  • Email verification required before account activation
  • Unique email address required per account

3.2 Account Types#

Account TypeDescriptionDefault RoleDefault Plan
Standard UserSelf-registered customerUserFree
Paid UserCustomer with subscriptionEditorBasic/Pro/Business
AdministratorPlatform administratorAdminPro

3.3 Account Deactivation#

  • Accounts deactivated after 12 months of inactivity
  • Immediate deactivation upon request
  • Data retention per privacy policy

4. Authentication#

4.1 Password Requirements#

RequirementValue
Minimum Length8 characters
Uppercase LettersAt least 1
Lowercase LettersAt least 1
NumbersAt least 1
Special CharactersAt least 1
Password HistoryN/A (not enforced)
Maximum AgeN/A (no forced rotation)

4.2 Account Lockout#

ParameterValue
Failed Attempts Before Lockout5
Lockout Duration30 minutes
Reset on SuccessYes

4.3 Multi-Factor Authentication (2FA)#

  • Optional for all users
  • Supported methods: TOTP (Authenticator app), Email
  • Required for Admin accounts (recommended)

4.4 Session Management#

  • JWT-based sessions
  • Session duration: 30 days
  • Secure, HttpOnly cookies
  • Session invalidation on password change

5. Role-Based Access Control (RBAC)#

5.1 Defined Roles (v4.0 - Simplified)#

RoleDescriptionAutomatic Assignment
AdminFull system access, user management, test runnerManual only
EditorCreate, edit, share content publiclyBasic/Pro plans
UserCreate personal content only (private)Free plan

Note: Legacy roles (Viewer, GlobalViewer, PresetEditor) were removed in v3.13.0 and migrated to the simplified role system.

5.2 Role Permissions Matrix#

PermissionAdminEditorUser
canManageUsers
canEditSettings
canViewSettings
canEditDefaultPresets
canEditDefaultEntities
canSharePresets
canShareEntities
canCreatePresets
canEditOwnPresets
canCreateEntities
canEditOwnEntities
canUseServices

Admin User Management (v4.2.0+):

  • When an admin changes a user's plan, the system automatically:
    • Cancels any active external subscriptions (PayPal/Stripe)
    • Updates the user's token wallet to the new plan's allocation
    • Resets the token cycle dates
    • Creates comprehensive audit log entries
  • This ensures billing consistency and prevents users from being charged for plans they're not using
  • All operations are performed atomically within database transactions
  • See docs/ADMIN_PLAN_MANAGEMENT.md for detailed procedures

5.3 Role Assignment Rules#

  • Roles automatically assigned based on subscription plan
  • Admin role never automatically downgraded
  • Role changes logged to audit trail

6. Plan-Based Feature Access#

6.1 Feature Matrix#

FeatureFreeBasicProBusiness
analyzer
anonymizer
batch
deanonymize
personalPresets
personalEntities
publicPresets
publicEntities
countryEntities
analysisConfig
apiAccess
masking
topUps
aiEntityCreation
encryption
hashingVariants

6.2 Token Limits#

PlanTokens per CycleCycle DaysMax Batch Size
Free30030N/A
Basic50031100
Pro2,00031500
Business10,000315,000

7. API Access Control#

7.1 API Authentication#

  • Bearer token authentication
  • JWT tokens with user context
  • Token expiration enforced

7.2 API Rate Limiting#

  • Per-user rate limits based on plan
  • Endpoint-specific rate limits
  • 429 response on limit exceeded

7.3 API Feature Access#

  • API access requires Basic plan or higher
  • Feature checks enforced at API level
  • Unauthorized access returns 403

8. Administrative Access#

8.1 Server Access#

  • SSH key authentication only (no password)
  • Brute force protection
  • Access limited to authorized administrators

8.2 Database Access#

  • No direct database access from internet
  • Access via application layer only
  • Parameterized queries (secure ORM)

8.3 Admin Panel Access#

  • Admin role required
  • Session-based authentication
  • Audit logging of admin actions

9. Access Reviews#

9.1 User Access Review#

  • Quarterly review of user accounts
  • Removal of inactive accounts
  • Verification of role assignments

9.2 Administrative Access Review#

  • Monthly review of admin accounts
  • Verification of SSH key validity
  • Review of admin action logs

10. Audit Logging#

10.1 Logged Events#

  • User authentication (success/failure)
  • Role changes
  • Permission changes
  • Admin actions
  • API access

10.2 Log Retention#

  • Authentication logs: 90 days
  • Admin action logs: 1 year
  • Security event logs: 1 year

11. Document Control#

VersionDateAuthorChanges
1.02025-12-29Security TeamInitial release
1.12025-12-29Security TeamUpdated for v4.0 role simplification

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.