Web Security

Application & framework security guides

Checklists and implementation guides for securing Next.js, Remix, NestJS, login pages, containers, and self-hosted deployments.

What these guides cover

Application and framework security is the set of controls that live in the app you ship: headers, auth, logging, secret handling, container images, and the request handlers that accept untrusted input. A framework default is not a security review. Next.js, Remix, NestJS, and a Docker image each expose a different surface, but the jobs are the same: authenticate the caller, authorize the object, validate input, limit abuse, keep secrets out of the client bundle and the logs, and run the process as a non-root user on a current base image. These guides are checklists and worked examples for those jobs, not a substitute for object-level authorization in your own code.

Risks

  • Framework defaults treated as a completed security review
  • Secrets in client bundles, env files, or container images
  • Self-hosted dashboards and login pages exposed to the public internet
  • Stale base images, root containers, and missing request-path controls

Control priorities

  • Framework security headers, auth, and input validation
  • Bot detection, rate limits, and Shield in the request handler
  • Secret scanning, structured logs, and a secrets manager
  • Minimal images, non-root processes, and private admin networks

Recommended reading order

Start with the web app security checklist as the hub. Use the Next.js or Remix checklist for the framework you run, then the login-page, Docker, and logging guides for the surfaces you actually expose.

Guides in this collection