Back to Documentation
Security
Security Best Practices
Follow these best practices to keep your sites and account secure on Berican Labs.
1Account Security
Protect your Berican Labs account:
- Strong password: Use 16+ characters with mixed case, numbers, symbols
- Enable 2FA: Required for admin access
- Unique password: Don't reuse passwords from other sites
- Password manager: Use one to generate and store passwords
- Review sessions: Check active sessions in Account Settings
2WordPress Security
Secure your WordPress sites:
- Keep updated: Always run latest WordPress, themes, and plugins
- Remove unused: Delete inactive themes and plugins
- Use strong passwords: For all WordPress user accounts
- Limit login attempts: Built-in on Berican Labs
- Security plugin: Consider Wordfence or Sucuri
- Hide wp-admin: Change the login URL if targeted
3API Key Security
Keep your API keys safe:
- Never commit: Don't put API keys in version control
- Use environment variables: Store keys in env vars, not code
- Rotate regularly: Generate new keys periodically
- Limit scope: Use keys with minimum required permissions
- Monitor usage: Check API logs for unusual activity
4Environment Variables
Handle secrets properly:
- Never expose secrets in client-side code
- Use server-side environment variables
- Don't log sensitive values
- Rotate compromised secrets immediately
- Use different secrets for staging vs production
# Good - server side only
DB_PASSWORD=secret
# Bad - exposed to browser
NEXT_PUBLIC_DB_PASSWORD=secret
5Incident Response
If you suspect a security breach:
- Don't panic: Act quickly but carefully
- Change passwords: Immediately change all passwords
- Rotate keys: Generate new API keys
- Check access logs: Review for unauthorized access
- Contact support: We can help investigate and remediate
- Restore from backup: If files were modified
Emergency: Email security@bericanlabs.com for urgent security issues.