Security

Security features and best practices for Supascale.

Supascale includes comprehensive security features to protect your self-hosted Supabase infrastructure. This section covers security scanning, access control, encryption, and best practices.

Security Overview

Supascale provides multiple layers of security:

  • Two-Factor Authentication: TOTP-based 2FA with backup codes for enhanced login security
  • SSL/TLS Certificates: Automatic Let's Encrypt integration and custom certificate support
  • Security Scanning: Automated RLS auditing, coverage analysis, and storage security checks
  • Encryption: AES-256 encryption for sensitive data at rest
  • Password Security: Strong password requirements with rate limiting
  • Access Control: Session-based authentication with granular API key permissions

Security Best Practices

  1. Enable two-factor authentication for all admin accounts
  2. Always use HTTPS in production environments
  3. Enable RLS on all database tables containing user data
  4. Rotate API keys periodically and revoke unused keys
  5. Monitor security scans and address findings promptly
  6. Keep Supascale updated for latest security patches
  7. Store 2FA backup codes securely in a password manager