Home / Companies / Apollo / Blog / Post Details
Content Deep Dive

Secure your GraphQL Microservices

Blog post from Apollo

Post Details
Company
Date Published
Author
Dylan Anthony
Word Count
1,039
Company Posts That Month
15
Language
English
Hacker News Points
-
Post removed?
No
Summary

Exposing GraphQL subgraphs publicly can lead to serious security breaches due to misconfigured federation, which enables splitting up business logic and improving performance. However, this also opens the door to unauthorized access to sensitive data and capabilities through various means such as direct querying, entity resolvers, or overridden schema fields. To mitigate these threats, it's essential to protect subgraphs at the application level by adding extra layers of authorization, using unique secrets per subgraph, and configuring routers to send headers containing shared secrets to each subgraph. This approach is considered the most consistent and effective way to prevent undesired access to subgraph capabilities, and implementing it immediately is crucial for securing GraphQL microservices.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Secrets Management 1 1,337 217 54 +8%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.