Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Implement strategy against denial of service attacks #25

Open
ojongerius opened this issue Mar 23, 2018 · 1 comment
Open

Implement strategy against denial of service attacks #25

ojongerius opened this issue Mar 23, 2018 · 1 comment

Comments

@ojongerius
Copy link
Contributor

If we are going to use GraphQL this will be a little more complicated than using REST.

Things to consider:

  • Query depth
  • Timeouts
  • Query complexity
  • Rate limiting based on server time vs query complexity

This article provides a good background:

https://github.com/howtographql/howtographql/blob/master/content/graphql/advanced/4-security.md

Githubs approach: https://developer.github.com/v4/guides/resource-limitations/

@ojongerius
Copy link
Contributor Author

Relevant article on Spectrum's approach at https://dev-blog.apollodata.com/securing-your-graphql-api-from-malicious-queries-16130a324a6b TL;DR: minimally implement depth and amount limiting. Investigate query cost Analysis.

@ojongerius ojongerius changed the title Decide on strategy against denial of service attacks Implement strategy against denial of service attacks Apr 8, 2018
@ojongerius ojongerius mentioned this issue Apr 9, 2018
@ojongerius ojongerius added this to To do in Open API Apr 10, 2018
@ojongerius ojongerius self-assigned this Apr 26, 2018
@ojongerius ojongerius moved this from To do to In progress in Open API Apr 26, 2018
@raisedadead raisedadead removed this from To do in Open API Apr 26, 2018
This was referenced Apr 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Open API
  
In progress
Development

No branches or pull requests

1 participant