Security Best Practices
Keep your Realtor Bot account and data secure with these best practices.
Account Security
Strong Passwords
Create a strong password:
- ✅ At least 12 characters
- ✅ Mix of uppercase and lowercase
- ✅ Include numbers and symbols
- ✅ Avoid common words or patterns
- ❌ Don't reuse passwords from other sites
Two-Factor Authentication (2FA)
Enable 2FA for extra security:
- Go to Settings → Security
- Click Enable Two-Factor Authentication
- Scan QR code with authenticator app
- Enter verification code
- Save backup codes in a secure location
Session Management
Manage active sessions:
- Go to Settings → Security → Active Sessions
- Review logged-in devices
- Sign out suspicious sessions
- Enable Auto-logout after 30 minutes of inactivity
API Security
API Key Management
Protect your API keys:
- ✅ Never commit keys to version control
- ✅ Rotate keys regularly (every 90 days)
- ✅ Use environment variables for keys
- ✅ Limit key permissions to minimum required
- ❌ Don't share keys via email or chat
Creating API Keys
- Go to Settings → API Keys
- Click Create New Key
- Set permissions:
- Read-only
- Read/Write
- Admin
- Set expiration date
- Copy key immediately (shown only once)
Revoking Keys
If a key is compromised:
- Go to Settings → API Keys
- Find the compromised key
- Click Revoke
- Create a new key
- Update all integrations
Integration Security
OAuth Connections
When connecting integrations:
- ✅ Review permissions before authorizing
- ✅ Use official OAuth flows only
- ✅ Revoke unused integrations regularly
- ✅ Monitor integration activity in logs
Webhook Security
Secure your webhooks:
- Use HTTPS only - Never use HTTP
- Verify signatures - Validate webhook signatures
- Whitelist IPs - Restrict to known IP addresses
- Use secrets - Include secret tokens in headers
Example webhook verification:
const crypto = require('crypto');
function verifyWebhook(payload, signature, secret) {
const hash = crypto
.createHmac('sha256', secret)
.update(payload)
.digest('hex');
return hash === signature;
}
Data Protection
Sensitive Data
Handle sensitive information carefully:
- ✅ Encrypt at rest - All data encrypted in database
- ✅ Encrypt in transit - HTTPS for all connections
- ✅ Mask in logs - Hide sensitive data in logs
- ✅ Limit access - Role-based permissions
Data Retention
Configure data retention policies:
- Go to Settings → Data Retention
- Set retention periods:
- Conversation logs: 90 days
- Lead data: 2 years
- Analytics: 1 year
- Enable automatic deletion
Data Export
Export your data securely:
- Go to Settings → Data Export
- Request export
- Receive encrypted download link via email
- Download within 24 hours
- Delete file after download
Team Security
User Roles
Assign appropriate roles:
- Admin - Full access to all features
- Manager - Manage bots and workflows
- Agent - View assigned leads only
- Viewer - Read-only access
Inviting Team Members
- Go to Settings → Team
- Click Invite Member
- Enter email address
- Select role
- Set permissions
- Send invitation
Removing Access
When team members leave:
- Go to Settings → Team
- Find the user
- Click Remove
- Transfer their data to another user
- Review and revoke any API keys they created
Compliance
GDPR Compliance
For EU customers:
- ✅ Obtain consent before collecting data
- ✅ Provide privacy policy link
- ✅ Honor deletion requests within 30 days
- ✅ Allow data export in machine-readable format
CCPA Compliance
For California customers:
- ✅ Disclose data collection practices
- ✅ Allow opt-out of data selling
- ✅ Provide data access upon request
- ✅ Delete data upon request
CAN-SPAM Compliance
For email communications:
- ✅ Include unsubscribe link in all emails
- ✅ Honor opt-outs within 10 days
- ✅ Use accurate sender information
- ✅ Include physical address in footer
Monitoring & Alerts
Security Alerts
Enable alerts for:
- Failed login attempts (5+ in 10 minutes)
- New device logins
- API key usage spikes
- Unusual data access patterns
- Integration disconnections
Audit Logs
Review audit logs regularly:
- Go to Settings → Audit Logs
- Filter by:
- User
- Action type
- Date range
- Export logs for compliance
Incident Response
If you suspect a security breach:
- Immediately change your password
- Revoke all API keys
- Review audit logs for suspicious activity
- Contact support at security@realtorbot.app
- Document the incident
Best Practices Checklist
- ✅ Enable two-factor authentication
- ✅ Use strong, unique passwords
- ✅ Rotate API keys every 90 days
- ✅ Review team access quarterly
- ✅ Monitor audit logs weekly
- ✅ Keep integrations up to date
- ✅ Train team on security practices
- ✅ Have incident response plan