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.
Free. Save your status, tasks and notes.
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
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.
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.
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.
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
- 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.
- 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.
- 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/IEC 27001: 2 mappings
This control partially meets A.8.20.
ISM-1271 requires network access controls that restrict database server communications to strictly defined network resources that need access. Annex A 8.20 requires organisations to secure, manage and control networks and network devices to protect information in systems and applications, which includes implementing filtering, firewalling and controlled routing. ISM-1271 is a specific application of network security management focused on database server connectivity, whereas Annex A 8.20 covers network/device security more broadly across the environment.
This control partially meets A.8.22.
ISM-1271 requires organisations to restrict database server communications to only the network resources that require access. Annex A 8.22 requires segregation of groups of information services, users and information systems within networks, commonly implemented via VLANs, zones, and firewall rules that can limit which segments can reach a database. Annex A 8.22 is broader (segregation across the network), while ISM-1271 is narrower but may also require controls beyond segmentation (e.g. explicit allow-lists for DB ports and source systems).
Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.




