News for hackers. Stuff that matters.
Re:How GraphQL Replaces Redux by mey on Tuesday March 13, 2018 @03:20PM (#16578937)
What protections can you put in place to limit the client query?

It seems with an appropriate GraphQL query it would be possible to generate significant data retrieval server side.

Re:How GraphQL Replaces Redux by asp2insp on Tuesday March 13, 2018 @05:00PM (#16579733)
The graphql tutorial has a chapter devoted to this: https://www.howtographql.com/advanced/4-security/

In a nutshell, you can limit the depth to which a query will resolve in order to prevent abuse. You can also go much further and whitelist a specific set of queries (which comes with some additional bandwidth wins!) See https://dev-blog.apollodata.com/persisted-graphql-queries-wi...