haven SAP Security
Browse knowledge
Knowledge base
FILE / SECURITY BASELINE

File and path access

Control access from ABAP programs to the file system.

Risk

Incorrect path validation or broad privileges can allow files outside the intended scope to be read or changed.

ABAP

Settings and priorities

Technology / priorityParameter or mechanismSetting and purpose
ABAP
Standard
abap/path_normalizationNot off
Normalizes paths before file access.
ABAP
Standard
abap/path_norm_Windows0
Windows setting subject to release requirements.
ABAP
Standard
FILECMCUSTP · UNCONF_PATH_AS_EMPTYDefault ON; do not override with another value
Handles unconfigured paths in SFILE.
ABAP
Extended
S_PATH ; S_DATASETMinimum required scope
Controls file access and authorizations, including SPTH.
ABAP
Extended
FILECMCUSTP · REJECT_EMPTY_PATHDefault ON or no explicit entry
Rejects empty paths.
ABAP
Extended
SAL · CUQ, CUR, CUS, CUT, DU5, EU4Include file access events
Provides an audit trail for file operations.

How to verify

  1. Check path normalization parameters.
  2. Review SFILE, FILECMCUSTP and SPTH rules.
  3. Restrict S_PATH and S_DATASET.
  4. Confirm that relevant operations are logged.

Related topics

System hardening ↗

Baseline priorities and implementation ↗