Skip to content
Software development
ASD ISMISM-1817

ASD ISM 1817 Secure API access with authentication and authorisation

What it says

Authentication and authorisation of clients is performed when clients call network APIs that facilitate access to data not authorised for release into the public domain and are accessible over the internet.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Clients calling an internet-reachable network API that gives access to data not formally approved for public release must have their identity verified and their permission checked.

Clients calling an internet-accessible network API that gives access to non-public data must be authenticated (identity verified) and authorised (allowed to access what they request). Non-public means not formally approved for public release, so data counts even if it is not sensitive. Clients include applications, services and AI agents as well as people, and a login page in the calling app does not count if the API itself returns data unchecked. The ISM applies this control to software development, including development with AI.

Why it matters

An internet-reachable API that returns non-public data without authentication hands it to anyone who asks, and one without authorisation lets any authenticated client read data meant for others. Checking both on each call refuses such requests.

How to implement

  1. List every internet-reachable API operation and the data it returns.

    Include search, list, export and file download operations, and query endpoints that can return many record types. Compare route definitions and API gateway configuration with an external scan of internet-facing addresses. Treat data as non-public unless it has been formally approved for public release.

  2. Authenticate every client with its own credential, checked on each call.

    Use a client certificate or a short-lived signed token from an identity provider for each application, service and AI agent, and the signed-in person's token for user requests. Reject missing, invalid or expired credentials. Protect client secrets the API stores as ISM-1402 requires.

  3. Check each request against the data that client may access.

    Enforce this in the API or a gateway, never only in the calling app. Check each requested record, filter search and list results to permitted records, and return only permitted fields. Deny by default, so a new operation returns nothing until its rule exists.

  4. Close routes around the checks.

    If a gateway performs them, make the backend reachable only through it, or have the backend repeat them. Where an existing API's code cannot be changed, put a gateway in front that performs both. Where a contractor builds the API, write both checks and tests for them into the acceptance criteria.

  5. Test both checks automatically before each release.

    Call each operation with no credential and with an invalid or expired one, then as a valid client request another client's record and run a broad search. No test may return data the caller is not permitted to access. Apply the same tests to code written with AI coding tools.

Keep it running

Keep these tests in the release pipeline, add each new operation to the list and revoke a retired client's credentials. Recheck which operations need both checks when data is newly approved for public release or a public data set gains non-public fields.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The list of internet-reachable API operations, the API gateway configuration and an external scan of internet-facing addresses, with the public release approval for any data served without authentication.

    Look at

    Whether every operation the scan or gateway reveals is on the list, and what data each operation that answers unauthenticated calls returns.

    Good evidence

    Every internet-reachable operation is on the list, and each one that answers without authentication returns only data formally approved for public release.

  2. Check 2 of 3What an auditor asks for

    Ask for

    A live test from outside the network against a sample of operations that return non-public data, including any the scan found that the list missed.

    Look at

    What a call with no credential and a call with an invalid or expired credential return.

    Good evidence

    Both calls are refused and return no non-public data on every sampled operation, while a permitted client receives the data.

  3. Check 3 of 3What an auditor asks for

    Ask for

    A test in which a valid client requests another client's record by changing its identifier, runs a broad search, and calls the backend directly, skipping any gateway.

    Look at

    Whether permission is checked for each record and field returned, and whether the backend answers calls that have not passed both checks.

    Good evidence

    The other client's record is refused, the search returns only records and fields that client may access, and where a gateway performs the checks, the backend is unreachable except through it or refuses the direct call.

Mappings

Closest match in ISO/IEC 27001: A.8.3, Information access restriction, which this control partially meets.

ISO 27001

ISO/IEC 27001: 2 mappings

  • A.8.3Information access restrictionPartially meets
  • A.8.5Secure authenticationPartially meets

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.