← All articles

Key takeaways

  • `NEXT_PUBLIC_` belongs only on values you want public.
  • Server Actions and route handlers are public — authorize every one.
  • Verify the session where data is read, not just in middleware.

Scan your app for these issues — free

Paste your URL and get a graded report with copy-paste fixes in about 30 seconds.

Run a free scan

Keep reading