Photo by Eric Er on Unsplash

Article

Securing GraphQL APIs

A single /graphql endpoint concentrates power and risk. This overview maps GraphQL-specific threats—introspection, deep queries, alias abuse, CSRF, and verbose errors—to controls you should layer at the gateway and in resolvers.

Article

Authentication and authorization in GraphQL

GraphQL needs identity in context and authorization at field granularity. This chapter covers transport auth, resolver and field guards, NestJS GqlExecutionContext, node(id) IDOR risks, and subscription connection_init.

Article

Limiting query depth and cost

Depth limits, complexity analysis, alias caps, timeouts, persisted query allowlists, and disabling introspection protect GraphQL from expensive operations. This chapter shows NestJS complexity plugins and gateway-level controls.

Tags

Search articles

Type a word to search published articles.

Open the search page