Secrets in the browser bundle
Next.js exposes variables with the public prefix to every visitor. A secret placed there is a leaked secret. We audit the bundle and rotate anything exposed.
AI tools can scaffold a working app in an afternoon. Production means authentication that holds up, database rules that protect customer data, email that arrives, pages search engines can read, backups and alerts. That is the work that separates a demo from a business.
Hover to exploreHold to explore
Hover to exploreHold to exploreThe code that got you to a demo was written to work, not to be attacked, scaled or maintained. A short hardening pass prevents expensive surprises.
Next.js exposes variables with the public prefix to every visitor. A secret placed there is a leaked secret. We audit the bundle and rotate anything exposed.
If Row Level Security is off or policies are too broad, the public API key can read or change data. Supabase advises enabling it on every table in an exposed schema.
Redirect URLs, email confirmation, password reset flows and session handling all need production configuration, and the email links must point at the real domain.
If your public pages need JavaScript to show content, search and AI crawlers may see little. Server rendering or static generation fixes that.
Without migrations in version control and tested backups, one bad deploy or deleted table can be unrecoverable.
Unbounded API calls, bots and image processing can inflate usage costs. Limits and alerts protect you.
Each item is simple. Skipping them is what causes trouble.
Separate development, preview and production environments. Secrets in the host’s encrypted settings, never in the repository. Public variables limited to what the browser genuinely needs.
Row Level Security on every table that is exposed, tested policies, and checks that anonymous users, signed-in users and admins each get exactly the access they should. Policies are tested, not assumed.
Allowed redirect URLs set to production, email templates and sender domain configured, password rules sensible, and admin routes protected on the server, not just hidden in the interface.
Validation on the server for every form and API route, safe file upload rules, rate limiting and protection against abuse. See our security review.
A reliable app is as much about operations as code.
We choose a platform that supports your rendering model and place the database in a region near your users, such as London for UK audiences. Details in UK hosting for AI-built websites.
Database changes managed through version-controlled migrations, with backups on a schedule and a rehearsed restore, so you can recover from mistakes.
Production domain, HTTPS, redirects and a verified sending domain with SPF, DKIM and DMARC for sign-in and transactional email. See domain and DNS and email setup.
Error tracking, uptime checks and usage alerts so you hear about issues, and bills, before customers or your accountant do.
Apps often hide their best content behind a client-side interface.
Landing, pricing, service and help pages should deliver their text in the initial HTML, with page-specific metadata, canonical URLs and a sitemap.
Organization, SoftwareApplication or Service schema where accurate, plus consistent descriptions, helps search engines and AI assistants understand what you offer. See AI visibility services.
Trim client JavaScript, optimise images and fonts, and monitor Core Web Vitals on real devices.
Documentation, case studies and honest comparisons written by people who know the subject. Google’s guidance rewards helpful, original content that demonstrates first-hand experience.
Design, engineering checks and operations from one accountable person.
Hosting, domain, environment variables, CI and monitoring set up properly.
Launch guide →Row Level Security, keys, auth and storage rules audited and fixed.
Security review →Rendering, metadata, sitemaps and structured data for the public side.
Read the SEO guide →Help assistants understand and cite your product.
AI visibility →Production domain and authenticated sending.
DNS guide →Updates, backups, monitoring and fixes after launch.
Explore our services →
Antony Locke has built over 100 websites and works with AI tooling daily. He is known for careful launches: nothing goes public until it has been tested as a stranger, as a signed-in user and under a failure.
Creative Locker is a small Dorset studio. You deal with Antony from the first call to launch and beyond, not an account manager or an overseas team. He has built more than 100 websites since 2020, the studio was named Website Design Agency of the Year at the South West England Prestige Awards 2024/25, and the 170+ Google reviews are from real clients you can look up.
Read access to the repo and Supabase project. We review architecture, rules and costs.
A prioritised list of fixes and a fixed quote.
Rules, secrets, rendering, email and CI fixed, then deployed to staging for approval.
Domain, monitoring and backups live, with optional monthly care.
Can’t see your question? Call 07388 210030 or email info@creativelocker.co.uk.
No. Security depends on enabling Row Level Security on exposed tables and writing correct policies. With RLS on and no policies, the public key returns no data, which is safe but often breaks features, so policies must be written and tested.
The publishable (anon) key is designed to be in the browser, constrained by your rules. A service-role or secret key bypasses them and must only be used on a server.
Content and marketing pages: static generation or server rendering. Dashboards and authenticated pages: client or server rendering as appropriate. We pick per page type.
The sending domain is probably not authenticated. A verified domain with SPF, DKIM and DMARC fixes most cases. See our email setup guide.
In a region near your users. For UK customers, a London or nearby European region reduces latency and simplifies data-protection discussions.
Yes. We offer monthly care covering updates, backups, monitoring and fixes.
Yes, many clients are founders who built with AI tools and want an independent review before launch.
It depends on size and risk. You get a fixed quote after a free 15-minute call.
Send us a link, a ZIP file or just a screenshot of what you have. Antony will tell you honestly whether it is nearly ready, needs a rebuild, or is fine as it is, and give you a fixed quote with no obligation.
A short call and a written plan. We harden, deploy and monitor, so launch day is boring.