Closed
Description
Hey. I was looking for a lot of information on how to protect against malicious requests, and as a result I found several common approaches:
- query cost or resource limitations (https://developer.github.com/v4/guides/resource-limitations/)
- limiting query depth (https://sangria-graphql.org/learn/#limiting-query-depth)
- query whitelisting
- hide introspection for production mode (this is not common solution, but sounds good)
All this approaches we can implement by meddleware and custom backend. But it will be cool if this solution is out of the box.
Also, graphene don't have information about security into the documentation.
ps: I can try to help, but if u have no reason why this is a bad idea.