GitBook Assistant Ask chevron-down Enterprise Guides Security and Compliance PromptOwl security features - encryption, role-based access control, GDPR compliance, and enterprise data isolation.
This guide explains the security features, data protection measures, and compliance capabilities built into PromptOwlarrow-up-right for enterprise users.
Table of Contents
Security Overview
PromptOwl implements multiple layers of security to protect your data and ensure secure AI interactions.
Security Architecture
Key Security Features
Industry-standard for sensitive data
JWT with 7-day expiration
User/team/enterprise levels
Authentication and Access
Authentication Methods
PromptOwl supports two authentication methods:
1. Google OAuth (Recommended)
No password stored in PromptOwl
Automatic email verification
Enterprise SSO integration
2. Email/Password
Industry-standard password hashing
Email verification required
Secure password reset flow
Industry-standard hashing algorithm
Required for credential login
Cryptographically signed tokens
First-Time Login
User signs up via OAuth or credentials
Email verification (if credentials)
Consent collection (GDPR compliance)
Enterprise auto-assignment (if applicable)
Screenshot: Login Security Data Encryption
What's Encrypted
Industry-standard hashing
API Key Protection
Your LLM provider API keys receive special protection:
Encryption Process:
User enters API key in settings
Key encrypted before storage
Encrypted value stored in database
Decrypted only at runtime when needed
Never displayed after initial save
Supported Providers:
Encryption Standards
Industry-standard hashing
Cryptographically signed tokens
Role-Based Access Control
PromptOwl uses a hierarchical role system:
Resource-Level Permissions
For individual resources (prompts, artifacts, conversations):
Permission Checks
Every action verifies:
User has appropriate role
User has access to specific resource
Enterprise settings allow the action
Checking Your Permissions
Your effective permissions depend on:
Your enterprise role (if applicable)
Direct sharing to your email
Multi-Level Isolation
PromptOwl ensures data separation at multiple levels:
User Level:
All queries filter by user ID
Personal data never visible to others
API keys tied to individual accounts
Team Level:
Team resources visible only to members
Role determines access within team
Enterprise Level:
Enterprise data isolated by subdomain
Cross-enterprise access blocked
Settings apply per-enterprise
Isolation Implementation
userId + teams + sharedWith
owner field + folder permissions
Cross-Tenant Protection
Subdomain-based access control
Enterprise membership validation
Blocked subdomains list maintained
Middleware enforces boundaries
Consent and Privacy
GDPR Compliance Features
PromptOwl tracks user consent for privacy compliance:
Consent Data Captured:
Policy Tracking
End User License Agreement
User registers or logs in
System checks for valid consent
If no consent or outdated policies:
User must accept to continue
Consent data stored with timestamp and IP
Session token includes consent status
User Data Rights
Users can view their data
Soft delete with isDeleted flag
Screenshot: Consent Dialog Session Management
Secure Sessions
PromptOwl uses secure session management:
Your session token contains:
Session Security
Session Invalidation
Sessions end when:
Password changed (credential users)
Authentication Methods
API requests require authentication:
Session-Based (Web):
Automatic with browser requests
API Key (Programmatic):
Protected Endpoints
All API routes validate:
Permission for requested action
CORS Configuration
Configured per environment
Content-Type, Authorization
API Best Practices
Do:
Include authentication headers
Don't:
Expose keys in client code
Enterprise Security Controls
Feature Toggles
Enterprise admins can control security-related features:
Control context retention
Automatic team membership
Enterprise Settings
Enable/disable enterprise
Restrict to specific prompt
Control available features
Subdomain Security
Each enterprise has unique subdomain
Users restricted to their subdomain
Cross-subdomain access blocked
Admin override capabilities
Team Management
Assign appropriate access
Required for team invites
Security Best Practices
Account Security:
Use strong, unique passwords
Enable OAuth when possible
API Key Management:
Use separate keys per environment
Monitor usage in provider dashboards
Data Handling:
Don't input sensitive data in prompts
Review shared resource access
Use appropriate team roles
Clear unused conversations
For Administrators
Enterprise Configuration:
Review feature toggles regularly
Audit user access periodically
Monitor for unusual activity
Keep enterprise settings current
Team Management:
Assign minimum necessary permissions
Remove departed employees promptly
Review team memberships quarterly
Document access decisions
Security Monitoring:
Check for deprecated models
Validate consent compliance
Security Checklist
Account Level:
Enterprise Level:
Compliance Considerations
Built-In Compliance Features
Feature
Compliance Purpose
Data stored in MongoDB Atlas
Region determined by cluster location
Contact support for specific requirements
Audit Capabilities
Compliance Responsibilities
PromptOwl Provides:
Encryption infrastructure
Customer Responsible For:
Industry Standards
PromptOwl implements security practices aligned with:
Note : For specific compliance certifications or attestations, contact PromptOwl support.
Quick Reference
Security Features Summary
For security concerns:
Report vulnerabilities to security@promptowl.ai
Contact support for compliance questions
Review documentation for best practices