Skip to content
System hardening
ASD ISMISM-1250

ASD ISM 1250 Limit the file system access of accounts that run server applications

What it says

The user accounts under which server applications run have limited access to their underlying server's file system.

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

In plain English

Limit the file system access of the account each server application runs under, based on what that application needs on its server.

The user accounts that server applications run under must have limited access to the file system of the server they run on. The control does not set the limit, so the organisation decides it from what each application needs: usually reading its program files and writing only to its own data, log and temporary folders, with no access to other applications' data or users' files. ISM-1249 covers the account's other privileges.

Why it matters

Server applications can often reach much of the server's file system by default. If one is compromised, limiting its account's file access restricts what malicious actors can read, change or plant on the server through it.

How to implement

  1. Map the files and folders each application needs.

    Use the vendor's documentation and watch the application in a test environment to record which paths it reads, writes and runs code from, separating program files from data, log and temporary folders.

  2. Set file system permissions to match the map.

    Give the account read access to its program files and write access only to paths the map shows it writes to, never to system folders, and remove it from groups that grant broad file access. Mandatory access control profiles can add a second limit. Database files also need file-based access controls (ISM-1256).

  3. Test the limit as the account.

    In a test environment with production settings, try to read another application's data and write to a system folder as the application's account, and confirm both are refused. On an appliance you cannot change, ask the vendor how access is limited and record any gap as a shortfall.

Keep it running

Recheck permissions after upgrades, new modules or a change to data or log locations, because installers can reset or widen them. Give any new volume or share mounted on the server the same limits.

Evidence and audit

  1. Check 1 of 2What an auditor asks for

    Ask for

    A report of the effective file system permissions of the accounts server applications run under, on a sample of servers chosen from a discovery scan, with the map of paths each application needs.

    Look at

    Every path each account can read or write, compared with the map.

    Good evidence

    Each sampled account can write only to mapped paths, has no write access to system folders, has write access to program files only where the map records why its application needs it, and cannot read or write other applications' data or users' files.

  2. Check 2 of 2What an auditor asks for

    Ask for

    A test, run as a sampled account on a test server with production settings, of reading another application's data and writing to a system folder.

    Look at

    Whether each attempt is refused.

    Good evidence

    Both attempts are refused by the file system's permissions.

Mappings

Closest match in ISO/IEC 27001: A.5.15, Access control, which this control partially meets.

ISO 27001

ISO/IEC 27001: 3 mappings

  • A.5.15Access controlPartially meets
  • A.8.2Privileged access rightsPartially meets
  • A.8.3Information access restrictionPartially meets
Essential Eight

ASD Essential Eight: 1 mapping

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