Security
Laneful provides comprehensive security measures to protect your email infrastructure and ensure secure access to both web interface and API endpoints.
Complete audit trail of all API and web access
Granular IP-based access control
On this page
Overview
Security is a top priority at Laneful. We provide multiple layers of protection to ensure your email infrastructure remains secure and accessible only to authorized users and systems.
Our security measures include comprehensive access logging, IP-based restrictions for both web interface and API access, and role-based access control to ensure proper authorization across your organization.
Security Features
Access Monitoring
- • Detailed API and web access log for every workspace
- • Who accessed what, from where, and when
- • Allowed and blocked requests at a glance
Access Control
- • IP-based web interface restrictions
- • Per-API key IP allowlisting
Access Logging
Comprehensive Access Monitoring
To view detailed access logs for your organization, navigate to:
Analytics → API/Web Access LogThis page gives you a clear audit trail of web interface and API access to each workspace: every combination of IP address, identity and API call, with when it was first and last seen. At a glance, you see who accessed what, and from where.
Log Information
Each access log entry contains:
Request Details
Response & Timing
Fast Filtering & Search
Filter and search the access log to quickly pinpoint specific access patterns:
Filter Options
- • Filter by specific API call
- • Filter by access type (Web/API)
Search Capabilities
- • Search by email
- • Search by IP address
- • Search by API key
Web Interface IP Restrictions
Restricting Web Access
To configure IP restrictions for the web interface, navigate to:
Settings → SecurityUnder Allowed Web IP Addresses, the organization owner can restrict access to the web interface to specific IP addresses or IP ranges for enhanced security.
Web Interface Security
By configuring IP restrictions for the web interface, you can:
Access Control
- • Limit web access to office IPs
- • Restrict access to VPN ranges
- • Block access from unknown locations
- • Prevent unauthorized web interface access
Security Benefits
- • Reduce attack surface
- • Prevent credential-based attacks
- • Control administrative access
- • Comply with security policies
Configuration Options
You can configure IP restrictions using various formats:
Supported Formats
192.168.1.100 - Single IP address192.168.1.0/24 - IP range (CIDR notation)API IP Restrictions
Per-API Key IP Restrictions
When creating or updating an API key, you can set a list of allowed IPv4 addresses or CIDR ranges for that specific key, for example 203.0.113.10 or 203.0.113.0/24 (IPv4 only; IPv6 addresses aren't supported). Requests from any other IP are rejected. This provides granular control over API access on a per-key basis.
API Key Security
API IP restrictions allow you to:
Granular Control
- • Restrict API keys to specific servers
- • Limit access to development environments
- • Control production API access
- • Prevent unauthorized API usage
Use Cases
- • Production server restrictions
- • Development environment isolation
- • Third-party integration control
- • Security incident containment
Implementation
API IP restrictions are configured when creating or updating API keys:
Configuration Process
- 1. Navigate to Workspaces → Workspace Settings → API Keys (sending keys) or Settings → Organization API Keys (Organization API keys)
- 2. Create a new API key or edit an existing one
- 3. Enter the allowed IPs: IPv4 addresses or CIDR ranges, separated by spaces
- 4. Save the configuration
- 5. The key will only work from the specified IP addresses
Security Benefits
Per-API key IP restrictions provide several security advantages:
- • Compartmentalization: Different keys for different environments
- • Risk Mitigation: Limit the impact of compromised keys
- • Compliance: Meet security requirements for API access
- • Monitoring: Track API usage by source IP
- • Incident Response: Quickly revoke access from specific locations
Data Retention
Laneful keeps your data available for analysis and troubleshooting:
- • Event records (requests, deliveries, bounces, opens, clicks and other events, including recipient addresses): available for 3 months
- • Aggregated statistics: available for 12 months
- • Emails waiting for delivery: kept until delivered or until retries end, at most 72 hours
- • Webhook events waiting for delivery: at most 24 hours
- • Bounce and unsubscribe lists, templates and the API/Web Access Log: kept while the workspace exists (you can remove bounce and unsubscribe entries and templates yourself); deleted 30 days after the workspace is deleted
Security Best Practices
✓ Do
- • Regularly review access logs for suspicious activity
- • Use specific IP ranges rather than broad ranges
- • Create separate API keys for different environments
- • Monitor failed access attempts
- • Keep IP allowlists updated
- • Use VPNs for remote access
- • Implement least-privilege access
- • Regularly rotate API keys
✗ Don't
- • Use overly broad IP ranges (0.0.0.0/0)
- • Share API keys between environments
- • Ignore access log alerts
- • Use the same key for multiple services
- • Allow access from public/unsecured networks
- • Forget to update IP lists when infrastructure changes
- • Use weak authentication methods
- • Store API keys in client-side code
Monitoring & Alerting
Set up regular monitoring of your access logs and configure alerts for unusual access patterns, failed authentication attempts, or access from unexpected IP addresses. This helps you quickly identify and respond to potential security incidents.
Regular Security Reviews
Conduct regular security reviews of your IP allowlists, API key permissions, and access patterns. Remove unused or outdated access rules and ensure that all current access is necessary and properly secured.