Interview practice question
Securing a public GraphQL API
Backend Engineering · Auth and Security · Experienced
You are exposing a GraphQL API publicly. What security issues are specific to GraphQL and how do you address them?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Deep/complex queries → DoS.
- Depth, complexity, cost limits.
- Field-level authorisation in resolvers.
- Disable introspection in prod or limit.
- Persisted queries, batching limits.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.