Skip to content
Database systems
ASD ISMISM-1271

ASD ISM 1271 Restrict network access to database servers

What it says

Network access controls are implemented to restrict database server communications to strictly defined network resources that require access to the database server.

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

In plain English

Let each database server talk only to the specific hosts that need it, such as its application servers, and block all other traffic with network access controls.

Network access controls must restrict each database server's communications to a strictly defined set of network resources that need access to it. Network access controls are rules that decide what traffic may reach or leave a device, such as firewall rules, network access control lists or cloud security groups. Strictly defined means specific hosts, or a group or subnet holding only them, and specific ports, never 'any'. Typical resources are the application servers that query the database, jump servers for administration and backup servers. Everything else is blocked.

Why it matters

A database server reachable from anywhere can be probed and attacked from any compromised workstation or server on the network. Limiting it to the hosts that need it closes those paths for every other system.

How to implement

  1. List what genuinely needs each database server.

    Review flow or connection logs over a period long enough to include backups and batch jobs, and the application's design. Record each resource by address, group or subnet, with its port and reason: application servers, jump servers (ISM-1387 requires administration through them), backup, replication and monitoring.

  2. Enforce the list with default-deny rules.

    On the network firewall or cloud security group in front of each database server, allow only the listed sources to the listed ports and deny everything else. Add the server's host firewall with the same list as a second layer.

  3. Limit the connections the database server starts.

    Allow outbound traffic only to defined resources it must exchange data with, such as log collection and backup servers, and block the rest, including general internet access.

  4. Tie every rule change to the list.

    Add a resource and its reason to the list before opening a rule, and remove rules when an application, server or need is retired. For a managed database service, apply the list through its network allow list or private endpoint and turn off public access.

Keep it running

Compare live rules and flow logs with the list whenever an application, server or backup arrangement changes, and remove rules for resources that no longer need access. Investigate repeated blocked attempts, since they can show misconfiguration or someone probing for the database.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The defined list of resources for database servers sampled from a network scan, with the live firewall rules, security groups and host firewall settings that apply to each.

    Look at

    Whether every allow rule, inbound and outbound, matches a listed resource and port, and whether any rule allows any address, all ports or a group or range holding hosts with no need.

    Good evidence

    Every allow rule maps to a listed resource with a stated need, none permits any address, all ports or a group or range holding hosts with no need, and all other traffic is denied.

  2. Check 2 of 3What an auditor asks for

    Ask for

    Flow logs for the sampled database servers over a recent period.

    Look at

    Every host that communicated with each server, compared with its list.

    Good evidence

    Every host that communicated with the server is on its list, and every listed resource either communicated with it or has a current, stated need.

  3. Check 3 of 3What an auditor asks for

    Ask for

    Connection attempts to a database port from a workstation and from a server not on the list.

    Look at

    Where each attempt is stopped.

    Good evidence

    Both attempts are blocked by the network access controls before they reach the database service, not just refused at database logon.

Mappings

Closest match in ISO/IEC 27001: A.8.20, Networks security, which this control partially meets.

ISO 27001

ISO/IEC 27001: 2 mappings

  • A.8.20Networks securityPartially meets
  • A.8.22Segregation of networksPartially meets

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