# Production Security Checklist
- [ ] HTTPS redirect and TLS configured.
- [ ] config.php, app, database, storage, logs and backups outside public_html.
- [ ] APP_KEY unique/high entropy and backed up securely (required to decrypt YouTube keys).
- [ ] setup.php deleted after first admin initialization.
- [ ] Least-privilege admin roles and unique strong passwords.
- [ ] YouTube keys restricted to necessary Google APIs.
- [ ] Payment provider transaction independently checked before approval.
- [ ] No passwords/tokens/OTP/payment secrets in logs.
- [ ] Off-site backups and restore test completed.
- [ ] Android stores tokens in Keystore and handles HTTP 402.
- [ ] Test concurrent registration/device binding, approval replay, expired refresh, blocked users and subscription expiry.
- [ ] Complete security review and load test on the actual hosting environment before launch.
