Database authorization
Supabase tables ship with Row Level Security policies. Anonymous reads are scoped, write paths require an authenticated session, and privileged paths verify operator roles server-side.
Tube draws explicit boundaries around identity, data, media, operations, and licensing. The controls ship with the platform; the operator still owns secrets, network policy, monitoring, backups, and response.
Supabase tables ship with Row Level Security policies. Anonymous reads are scoped, write paths require an authenticated session, and privileged paths verify operator roles server-side.
Playback access is issued server-side with short-lived signed URLs, keeping privileged storage credentials out of the browser contract.
Admin, moderator, and uploader boundaries are checked on the server. Cron and worker endpoints require dedicated bearer credentials.
Authentication and sensitive mutations are rate-limited. Bulk-import URLs pass SSRF guards, and redirect targets are constrained before navigation.
Privileged mutations enter the audit trail, while readiness and environment checks surface missing controls before they become silent production drift.
Implemented controls
These are shipped controls and operational checks, not a separate badge or marketing add-on.
Row Level Security on every Supabase table
Service-role key segregated server-only
Signed, short-lived media URLs
Playback access stays server controlled
CSRF-safe server actions
Auth rate limiting
lib/auth/auth-rate-limit.ts
Cron bearer auth
lib/auth/verify-cron-bearer.ts
Admin role gate
lib/auth/require-admin.ts
Uploader role gate
lib/auth/require-uploader.ts
Safe-redirect guard
URL guard for bulk imports
Audit log on all admin mutations
Env-var audit script
Shared responsibility
Self-Host operators configure secrets, firewall policy, monitoring, backups, service access, and incident response for their environment. Managed customers retain responsibility for their content, users, editorial choices, and legal obligations.
Explore the operator surfaceBuild on clear boundaries
Choose a managed branded site or operate the same application controls on infrastructure you own.