Secrets
Auth isolation
Separate viewer vs operator Supabase cookie jars (lib/supabase/auth-scope.ts). Theme preview requires operator session.
Database
Enable and keep RLS migrations applied (006+). Service role only on the server.
Cron / jobs
POST /api/internal/jobs/run requires header X-Streamly-Cron-Secret: <STREAMLY_CRON_SECRET>.
License
Production operator activation verifies Envato purchase codes viaENVATO_PERSONAL_TOKEN. Disable ENABLE_DEMO on real installs.