Android and iOS

Field and object controls in mobile GraphQL APIs

TLS, authorization, request integrity, caching and network failures.

Network and API protection1 min readEditorial methods

Flexible GraphQL queries make field authorization and query-cost controls particularly important.

Evaluation approach

Review resolver permissions and set suitable depth, complexity and resource limits.

Application example

Public profile names and private contact details may require different access conditions.

Limits and considerations

Schema visibility is not an access control. An app protection SDK cannot repair a resolver defect.

Is a depth limit enough?

A shallow query can still consume expensive resources. Measure actual data-access cost and keep authorization findings separate from resource-limit findings.

Checks and decisions

  • Separate sensitive fields
  • Limit cost
  • Test unauthorized queries

Sources

The primary references above provide the technical basis. Example workflows and evaluation suggestions are this publication’s explanations, not independent test results for a particular product.