Access Control
Authentication, authorization, row-level security and sessions — keeping the wrong people away from the right data.
22primary guides
Search all guides in this category.
Search results
No guides match your search. Try a broader topic or clear the search to browse.
Stop Exposing API Keys in Frontend Code
Identify secrets shipped in browser bundles, move privileged calls behind a server boundary and rotate exposed credentials safely.
Jul 17, 2026Secure a Base44 App Before Launch
Separate Base44 app visibility from data permissions, review table access and backend secrets, then verify the deployed app with distinct accounts.
Jul 17, 2026Secure a Bolt App Before Launch
Identify the Bolt backend, protect server functions and webhooks, test database policy and verify the published deployment.
Jul 17, 2026Stop Brute Force and Account Enumeration
Make authentication responses uniform, throttle online guessing by account and network signals and test recovery flows safely.
Jul 17, 2026Why Client-Side Auth Is Not Access Control
Understand why route guards and hidden controls cannot enforce access, then place authorization at the server operation that needs it.
Jul 17, 2026Firebase security rules: Firestore and Storage
Test Firebase Firestore and Storage rules with two accounts. Review Admin SDK bypasses, upload limits and App Check before deployment.
Jul 17, 2026How to Find IDOR in an AI-Built App
Use a safe two-account test to find object authorization flaws, then fix the resource lookup instead of hiding identifiers.
Jul 17, 2026JWT Validation Mistakes AI Tools Generate
Validate JWT signatures, algorithms, issuers, audiences, time claims and token types with a deployment-specific trust policy.
Jul 17, 2026Secure a Lovable App Before Launch
Review a Lovable app across its public frontend, Edge Functions, database RLS, authentication, scans and publish settings.
Jul 17, 2026Prevent Cross-Tenant Data Leaks
Carry a server-owned tenant context through APIs, jobs, caches, storage and database queries, then verify it with two tenants.
Jul 17, 2026Secure OAuth Redirects and Callbacks
Secure OAuth redirects with exact registration, transaction-bound callback state, PKCE, issuer checks and a strict code exchange.
Jul 17, 2026Password Hashing for Vibe Coders
Store passwords with maintained memory-hard hashing, deployment-tested work factors, safe migration and rehashing on login.
Jul 17, 2026Secure Password Reset and Email Verification
Design reset and verification flows with uniform responses, single-use tokens, trusted links and explicit session decisions.
Jul 17, 2026Public-by-Default Deployments and Storage
Find exposed previews, app origins, database APIs and storage before launch, then prove each access boundary with logged-out and second-account tests.
Jul 17, 2026Secure Admin Routes in AI-Built Apps
Inventory privileged actions, enforce one server-side policy across every method and test admin routes with ordinary accounts.
Jul 17, 2026Secure internal tools built by non-developers
Protect AI-built internal tools with managed identity, per-action authorization, narrow service accounts, audit logs, recovery and a shutdown owner.
Jul 17, 2026Secure public AI API endpoints
Protect public AI APIs with object authorization, bounded work, cost controls, constrained tools, safe output handling and tested failure paths.
Jul 17, 2026Secure Session Cookies
Configure host-scoped session cookies, choose SameSite deliberately, rotate identifiers and test server-side expiry and revocation.
Jul 17, 2026Server-Side Authorization for AI-Generated APIs
Create one deny-by-default authorization seam for API actions, resources and tenants, then test every sensitive path.
Jul 17, 2026Supabase RLS for Vibe-Coded Apps
Build and test Supabase row-level security with precise grants, command policies and two-account checks before release.
Jul 17, 2026Supabase security: RLS and service keys
Review Supabase RLS, service-role bypasses and OAuth token storage. Test signed-out and cross-account access before releasing your app.
Jul 17, 2026The Two-Account Test for Data Isolation
Use two owned accounts and synthetic records to test object-level authorization across reads, writes, deletes, exports, files and nested resources.
Jul 17, 2026
Guides in this category
Grouped by primary topic. Related topics remain linked within each article.
Supabase security: RLS and service keys
Review Supabase RLS, service-role bypasses and OAuth token storage. Test signed-out and cross-account access before releasing your app.
Read articleThe Two-Account Test for Data Isolation
Use two owned accounts and synthetic records to test object-level authorization across reads, writes, deletes, exports, files and nested resources.
Read article