Daily note ·
Lock your admin pages on the server
Many AI-built apps have an admin page, like /admin or /dashboard. Often the only thing keeping strangers out is a hidden link or a check that runs in the browser.
That is not enough. Anyone can type the URL, and a check in the browser can be skipped. The API routes behind the page may answer anyone who asks.
Check the user on the server for every admin page and every admin API route. If they are not signed in as an admin, return a 403 error and show nothing.
You can paste this into your AI tool: "Protect every admin page and admin API route with a server-side check that the user is signed in and has the admin role. Return 403 otherwise."
Then check your live app. Run a free scan at vibecheck.ac. The $9 report gives you the fixes.