Skip to main content
Security best practices for production deployments.

Database

  • Change default passwords
  • Enable SSL/TLS
  • Restrict network access
  • Use strong encryption
  • Rotate credentials regularly

Network

  • Deploy behind VPN
  • Use private networks
  • Enable mTLS
  • Configure firewalls
  • Use NetworkPolicies (Kubernetes)

Data Privacy

Redact PII:
Configure retention:
Implement data export:

Secrets

Never commit secrets:
  • Use environment variables
  • Use secret managers (AWS Secrets Manager, Vault)
  • Rotate secrets regularly
  • Use least privilege access

Auditing

Enable audit logging: