DEV Community

Securing the Next.js App Router Series' Articles

Back to Ahmed Mahmoud's Series
Next.js Server Actions Are Public Endpoints: How I Lock Them Down

Next.js Server Actions Are Public Endpoints: How I Lock Them Down

1
Comments
3 min read
Passkeys in Production: Field Notes on WebAuthn, Conditional UI, and the RP ID That Broke My Login

Passkeys in Production: Field Notes on WebAuthn, Conditional UI, and the RP ID That Broke My Login

Comments
8 min read
Content Security Policy in the Next.js App Router: Field Notes on Nonces, strict-dynamic, and the Middleware That Made Every Page Dynamic
Cover image for Content Security Policy in the Next.js App Router: Field Notes on Nonces, strict-dynamic, and the Middleware That Made Every Page Dynamic

Content Security Policy in the Next.js App Router: Field Notes on Nonces, strict-dynamic, and the Middleware That Made Every Page Dynamic

Comments
8 min read
Rate Limiting in the Next.js App Router: Field Notes on Middleware, Redis, and the Server Action That Looks Like Every Other POST

Rate Limiting in the Next.js App Router: Field Notes on Middleware, Redis, and the Server Action That Looks Like Every Other POST

Comments 1
9 min read
Environment Variables in Next.js: Field Notes on NEXT_PUBLIC_ Inlining, the Secret That Almost Shipped, and Failing the Build with Zod

Environment Variables in Next.js: Field Notes on NEXT_PUBLIC_ Inlining, the Secret That Almost Shipped, and Failing the Build with Zod

2
Comments 2
6 min read