Subscribe to the Non-Human & AI Identity Journal

Preventive Controls

Preventive controls block or constrain risky actions before they are completed. In ERP environments, they can stop unauthorized transactions, enforce approval paths, or restrict configuration changes, making them more effective than detective-only controls when business processes move quickly.

Expanded Definition

Preventive controls are safeguards that stop an action before it creates risk, loss, or policy violation. In NHI and ERP contexts, they constrain transactions, approvals, and configuration changes so that risky operations never complete without the right authority.

For practitioners, the key distinction is timing. Detective controls find issues after the fact, while preventive controls shape the path of execution itself through approval gates, role constraints, conditional access, validation rules, and just-in-time restrictions. That makes them especially important where automation moves faster than human review. Definitions vary across vendors when people discuss policy enforcement, so it helps to anchor the term in outcomes: the control must block or force correction before completion, not merely log the event. This aligns well with the governance intent described in the Ultimate Guide to NHIs — Standards and with the layered risk-reduction model in the NIST Cybersecurity Framework 2.0.

The most common misapplication is treating a post-transaction audit trail as a preventive control, which occurs when teams rely on logs after unauthorized changes have already been committed.

Examples and Use Cases

Implementing preventive controls rigorously often introduces friction in fast-moving workflows, requiring organisations to weigh execution speed against reduced exposure and stronger accountability.

  • ERP approval routing that requires finance sign-off before a payment batch can post, preventing accidental or malicious disbursements.
  • Configuration lockdowns that block privilege changes unless the request passes policy checks, change windows, and segregation-of-duties rules.
  • Secret injection policies that prevent long-lived credentials from being embedded in code or CI/CD variables, reducing the risk of silent sprawl. The Ultimate Guide to NHIs — Standards treats lifecycle enforcement as core governance, not an afterthought.
  • Conditional access and step-up verification for administrative actions, where access is allowed only when device, identity, and context checks pass. This is consistent with the control logic behind NIST Cybersecurity Framework 2.0.
  • JIT elevation for service accounts or agents, so privileges exist only for the time needed to complete a task and then expire automatically.

Why It Matters in NHI Security

Preventive controls matter most when non-human identities are trusted too broadly. NHIs often operate at machine speed, hold privileged access, and interact with sensitive systems continuously, so even a short lapse in control can scale into major exposure. NHIMG’s research shows that Ultimate Guide to NHIs — Standards reports 97% of NHIs carry excessive privileges, which means prevention is not a nice-to-have layer, but a core containment strategy.

When preventive controls are weak, organisations tend to discover the gap after an incident has already crossed a boundary: an API key is abused, a service account makes an unauthorised change, or an agent completes an unsafe action without review. At that point, detective-only tooling may explain what happened, but it cannot undo the original decision path. Strong control design should therefore follow the NIST emphasis on access governance and risk reduction, with the NIST Cybersecurity Framework 2.0 used to map prevention into policy, enforcement, and continuous improvement.

Organisations typically encounter the full cost of preventive control failures only after an unauthorized transaction, privileged misuse, or configuration drift has already affected production, at which point the control becomes operationally unavoidable to fix.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-02 Covers secret and privilege misuse that preventive controls are meant to block.
NIST CSF 2.0 PR.AC-4 Access permissions are a preventive layer that limits what identities can do.
NIST Zero Trust (SP 800-207) Zero Trust requires continuous verification and explicit authorization before access is granted.

Block risky NHI actions with least privilege, secret governance, and approval gates before execution.