Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 1 of 5

Secure configuration

10 min

Listen to this lesson

0:00 / 6:58

Roles decide what authenticated users may do. Secure configuration decides how hard it is to become an authenticated user in the first place, and what powerful doors exist outside the role concept. On Contoso Motor Co.'s program, Sam's Basis team owns most of these settings and Nadia's security team defines the targets. Under RISE with SAP, some technical layers are operated by SAP; who sets and checks which parameter is part of the contract's responsibilities, so read it before assuming either side covers an area.

Start from a baseline

SAP recommends defining a security baseline: minimum requirements every SAP system must meet, regardless of its risk assessment, with stricter measures for critical systems on top. SAP provides a Security Baseline Template, prefilled with selected requirements and concrete values, as a starting point, and points to SAP Note 2253549 for current product-specific security recommendations. The baseline turns "secure" into a list of checkable settings, which is what makes it testable and auditable.

Company security policyContoso's IT security policy: what must be protected and why.
SAP security baselineConcrete settings for every SAP system, built from SAP's template and recommendations.
System-specific hardeningExtra measures for CMP and other critical systems, from a risk assessment.
Continuous checkingConfiguration checks and reports that show each system still meets the baseline.
From policy to evidence: a baseline turns policy into settings that can be checked.
The Sign-Off Table · thesignofftable.com/academy/sap-sec-303

Logon and password settings

Password and logon rules are profile parameters, viewable in RZ11 or with report RSPFPAR. Key ones include login/min_password_lng (minimum length), the login/min_password_* family for digits, letters and special characters, login/password_expiration_time, login/fails_to_user_lock (failed attempts before a lock), and login/password_max_idle_initial and login/password_max_idle_productive (how long unused passwords stay valid). Prohibited passwords can be listed in table USR40. Where single sign-on is used, for example Fiori logon through the Identity Authentication service of SAP Cloud Identity Services (SAP's umbrella name for Identity Authentication, Identity Provisioning and related services) federated with Contoso's corporate identity provider, password rules still matter for users and situations that fall back to passwords, and the profile parameter login/disable_password_logon can restrict password logon for user groups that should only use SSO.

Security policies, maintained in SECPOL and assigned on the user's logon data, let you apply different rules to groups of users, for example stricter rules for administrators, without burdening every user. Report RSUSR_LOCK_USERS can lock users who have been inactive for a set period, which removes a common audit finding.

Standard users

UserRiskProtection
SAP*Hard-coded with a publicly known default password if no user master record existsKeep a user master record, set login/no_automatic_user_sapstar above 0, lock it, assign it to user group SUPER
DDICPowerful user for dictionary and software logistics tasksChange the initial password, restrict use, assign to SUPER, monitor its logons
EARLYWATCHDelivered in client 066 for SAP's remote servicesChange its password; do not delete it; use only for monitoring
Technical and RFC usersOften powerful and with passwords stored in RFC destinationsUse system or communication user types, minimal roles, no SAP_ALL

Standard and technical users that every baseline addresses.

Why the SAP* parameter matters: deleting the SAP* user master is only safe when login/no_automatic_user_sapstar is above 0.
The Sign-Off Table · thesignofftable.com/academy/sap-sec-303

RFC and interfaces

Remote function calls let other systems run functions in S/4HANA. Three settings matter most: the RFC users' roles (authorization object S_RFC for function groups, granted narrowly), the destinations that store credentials to log on to other systems (anyone who can use a destination with a stored powerful user can act as that user), and the gateway access control lists that decide which external programs may register or be started. Kenji's team documents each interface's user and the function groups it needs, so the interface roles can be built with the same least-privilege discipline as business roles.

An RFC call passes three controls: the gateway decides which programs may connect, the RFC user logs on, and S_RFC limits the function groups it may call.
The Sign-Off Table · thesignofftable.com/academy/sap-sec-303
  1. Is the setting in the baseline?Yes → check the system's actual value against it · No → decide whether the baseline needs it
  2. Does the actual value meet the baseline?Yes → record the evidence · No → raise a change, or a documented exception
  3. Could the change affect users or interfaces?Yes → test in CMQ first, including interface logons · No → apply under normal change control
  4. Is the system critical, such as CMP?Yes → apply the extra hardening from its risk assessment · No → baseline is enough
How Sam's team handles a baseline gap. SAP warns that security configuration changes can affect business continuity, so they are planned.
The Sign-Off Table · thesignofftable.com/academy/sap-sec-303

What would you do?

During CMQ hardening, Sam finds that <code>login/no_automatic_user_sapstar</code> is set to 0 and that SAP* has a user master record in client 100. Kenji says that is fine because SAP* exists and is locked. What should Sam do?

Key points
  • Define a security baseline from SAP's template and recommendations; check every system against it.
  • Logon and password rules are profile parameters; security policies (SECPOL) tailor them per group.
  • Protect SAP*, DDIC and EARLYWATCH; set login/no_automatic_user_sapstar above 0.
  • Secure RFC: narrow S_RFC, careful stored credentials, gateway access control.
  • Plan and test configuration changes; they can affect users and interfaces.

Check your understanding · not graded

Lesson check

  1. 1. What does setting login/no_automatic_user_sapstar above 0 protect against?

  2. 2. Which tool lets you apply stricter password rules to administrators only?

  3. 3. What does SAP's Security Baseline Template provide?

  4. 4. Why are RFC destinations with stored credentials a security concern?