Why use policies? Instead of specifying entities and thresholds in every API call, use a policy name. This ensures consistent detection rules across your entire application and makes compliance easier.
Understanding Policies
A policy defines:- Entity Types: Which types of sensitive data to detect (e.g., person, email, SSN)
- Detection Threshold: Minimum confidence level (0.0-1.0) for detections
- Use Case: The compliance framework or business need it addresses
Policy Benefits
Consistency
Same detection rules across all applications and teams
Compliance
Pre-configured for GDPR, HIPAA, PCI DSS standards
Simplicity
One parameter instead of listing 15+ entity types
Maintainability
Update policy once, apply everywhere instantly
Global Policies
Blindfold provides 5 pre-configured global policies for common use cases and compliance frameworks.Available Global Policies
basic - General Purpose PII
basic - General Purpose PII
Best for: General applications, basic privacy protectionThreshold: 0.30 (more permissive, catches more)Entity Types (3):
- Person names
- Email addresses
- Phone numbers
gdpr_eu - GDPR Compliance
gdpr_eu - GDPR Compliance
Best for: European data protection, Article 4(1) personal dataThreshold: 0.35 (balanced)Entity Types (15+):
- Person, Email, Phone Number, Address
- National ID Number, Passport Number
- Tax ID, Bank Account, IBAN, Credit Card
- Date of Birth, IP Address
- Health Insurance Number, Medical Condition
hipaa_us - Healthcare Compliance
hipaa_us - Healthcare Compliance
Best for: US healthcare, HIPAA Protected Health Information (PHI)Threshold: 0.40 (stricter, fewer false positives)Entity Types (11+):
- Person, Email, Phone Number
- Social Security Number
- Health Insurance Number, Medical Condition
- Medication, Insurance Company
- Date of Birth, Address
pci_dss - Payment Card Security
pci_dss - Payment Card Security
Best for: Payment processing, cardholder data protectionThreshold: 0.45 (strict, high confidence)Entity Types (8+):
- Credit Card Number, Credit Card Brand
- Credit Card Expiration Date, CVV/CVC
- Bank Account Number, IBAN
- Person, Email
strict - Maximum Protection
strict - Maximum Protection
Best for: High-security environments, comprehensive PII protectionThreshold: 0.25 (most permissive, maximum detection)Entity Types (60+):
- All personal identifiers (Person, Email, Phone)
- All government IDs (SSN, Passport, Driver’s License, National ID)
- All financial data (Credit Cards, Bank Accounts, IBAN, Tax ID)
- All healthcare data (Medical Conditions, Medications, Health Insurance)
- All digital identifiers (IP Address, Username, Social Media)
- All travel data (Flight Numbers, Reservation Numbers)
- All additional types (License Plates, Student IDs, Serial Numbers)
Policy Comparison
Custom Policies
Create custom policies tailored to your specific business needs through the Blindfold Dashboard.When to Create Custom Policies
Industry-Specific Needs
Your industry requires specific entity types not covered by global policies
Custom Thresholds
You need different confidence levels than global policies
Subset Detection
Only need a few specific entity types from a larger policy
Team Standards
Enforce consistent detection rules across development teams
Creating a Custom Policy
Custom policies are created and managed through the Blindfold Dashboard:1
Access Dashboard
Navigate to app.blindfold.dev and sign in
2
Go to Policies
Click on “Policy Configuration” in the left sidebar
3
Create Policy
Click “Create Custom Policy” button
4
Configure Settings
- Name: Choose a unique policy name (e.g.,
internal_hr_policy) - Description: Optional description of the policy’s purpose
- Entity Types: Select which PII types to detect
- Threshold: Set confidence level (0.0-1.0)
5
Save and Use
Save the policy and use it immediately in your API calls
Custom Policy Examples
Using Policies in API Calls
With SDKs
Policies work seamlessly with all Blindfold SDKs:With REST API
Policies work with all privacy method endpoints:Best Practices
1. Choose the Right Policy
1
Identify Requirements
Determine compliance needs (GDPR, HIPAA, PCI DSS) and data types
2
Start with Global
Use global policies when they match your requirements
3
Customize When Needed
Create custom policies for specific business needs
2. Policy Naming Conventions
For custom policies, use clear, descriptive names:3. Document Your Policies
For each custom policy, document:- Purpose: Why the policy exists
- Entity Types: What it detects
- Threshold: Confidence level and reasoning
- Use Cases: Where it should be used
- Owner: Team or person responsible
4. Regular Review
Policy Maintenance Checklist
- Quarterly: Review policy effectiveness
- After incidents: Update based on false positives/negatives
- Compliance changes: Adjust when regulations update
- New features: Update when new entity types are available
Policy vs. Manual Configuration
When to Use Policies
✅ Use policies when:- You need consistent detection across multiple applications
- You’re subject to compliance regulations (GDPR, HIPAA, PCI DSS)
- Multiple teams use the same detection rules
- You want simplified API calls
- You need centralized management
When to Use Manual Configuration
✅ Use manual configuration (entities + score_threshold) when:
- One-off or experimental detection
- Testing different entity combinations
- Highly specialized single-use cases
- You need maximum flexibility
Compliance Mapping
GDPR (General Data Protection Regulation)
Policy:gdpr_eu
Article 4(1) - Personal Data: Any information relating to an identified or identifiable natural person.
Covered by Blindfold:
- Names, contact details (email, phone, address)
- Identification numbers (national ID, passport, tax ID)
- Financial data (bank accounts, credit cards)
- Health data (medical conditions, health insurance)
- Online identifiers (IP addresses)
HIPAA (Health Insurance Portability and Accountability Act)
Policy:hipaa_us
45 CFR § 164.514(b) - Protected Health Information (PHI):
18 HIPAA Identifiers Covered:
- Names ✅
- Geographic subdivisions ✅ (Address)
- Dates (birth) ✅
- Phone numbers ✅
- Email addresses ✅
- Social Security Numbers ✅
- Medical record numbers ✅
- Health plan numbers ✅ (Health Insurance Number)
- Account numbers ✅ (Bank Account)
- Certificate/license numbers ✅ 11-18. Additional identifiers ✅
PCI DSS (Payment Card Industry Data Security Standard)
Policy:pci_dss
Requirement 3 - Protect Stored Cardholder Data:
Primary Account Number (PAN) Protection:
- Credit card numbers ✅
- CVV/CVC codes ✅
- Expiration dates ✅
- Cardholder names ✅
- Bank account numbers ✅
FAQ
Can I modify global policies?
Can I modify global policies?
No, global policies are fixed to ensure compliance standards. However, you can create a custom policy based on a global policy and modify it to your needs.
How many custom policies can I create?
How many custom policies can I create?
No limit. Create as many custom policies as your organization needs.
What happens if I delete a custom policy that's in use?
What happens if I delete a custom policy that's in use?
API calls using the deleted policy will fail with a 404 error. Ensure you update your applications before deleting a policy.
Can I version my policies?
Can I version my policies?
Not directly, but you can create new policies with version numbers in the name (e.g.,
hr_policy_v1, hr_policy_v2) and migrate gradually.How do I know which policy to use?
How do I know which policy to use?
- GDPR compliance? →
gdpr_eu - Healthcare data? →
hipaa_us - Payment processing? →
pci_dss - General apps? →
basic - Maximum security? →
strict - Custom needs? → Create custom policy
Next Steps
Create Your First Policy
Sign in to the dashboard and create a custom policy
View All Entity Types
Browse 60+ entity types available for policies
API Reference
Learn how to use policies in API calls
Best Practices
Policy optimization and security tips