Join our Newsletter — 33% off our NHI Course

PDP-Level Filtering

A policy decision point driven approach that checks access before records are returned from the database. Instead of fetching everything and filtering later, the application builds queries from policy decisions and membership context. This reduces unnecessary data exposure and helps keep authorisation enforcement consistent.

Expanded Definition

PDP-Level Filtering describes an access pattern where the policy decision point influences the query itself, so records are withheld before they ever leave the data store. In NHI and agentic systems, this is more precise than post-query filtering because the application uses membership context, request attributes, and policy outcomes to shape the dataset returned to the caller.

This pattern is closely related to authorization design, but it is not the same as generic RBAC enforcement. RBAC decides who may act; PDP-Level Filtering determines which rows, documents, or objects are even eligible to be returned under that decision. The distinction matters in systems where agents, service accounts, or backend automation can retrieve large result sets at machine speed. Guidance across vendors is still evolving, so implementations may differ in whether policy is evaluated in the app layer, query layer, or through a proxy enforcing access conditions. The most common misapplication is relying on post-retrieval filtering, which occurs when a query returns broader data than intended and the application trims it only after exposure has already happened.

For broader authorization context, see the NIST Cybersecurity Framework 2.0 and the Ultimate Guide to NHIs.

Examples and Use Cases

Implementing PDP-Level Filtering rigorously often introduces query complexity and performance overhead, requiring organisations to weigh tighter data exposure control against simpler application logic.

  • A service account requests customer records, and the query is constrained so only rows owned by that tenant are returned, rather than filtering after a full table scan.
  • An AI agent retrieves incident notes, but policy context limits results to tickets assigned to the agent’s operating group and current task scope.
  • A finance API returns invoices only for legal entities approved in the PDP decision, using membership context rather than a separate post-processing layer.
  • A data platform enforces row-level access for contractor identities, with the policy engine deciding which partitions or objects can be queried at all.

In practice, this pattern aligns with the containment goals described in the Ultimate Guide to NHIs, especially where privileged automation and broad service-account access amplify blast radius. It also complements policy-driven authorization approaches referenced by the NIST Cybersecurity Framework 2.0.

Why It Matters in NHI Security

PDP-Level Filtering matters because NHI-driven systems often operate with broad machine permissions and high-volume data access. If access is enforced after retrieval, secrets, customer records, or operational telemetry can transiently pass through memory, logs, caches, or debug tooling even when the final response is restricted. That creates avoidable exposure for service accounts, agents, and API integrations that are already difficult to inventory and govern.

NHIMG research shows that only 5.7% of organisations have full visibility into their service accounts, which makes hidden overexposure especially dangerous when data access is not constrained at query time. The same guide also reports that 97% of NHIs carry excessive privileges, a condition that magnifies the impact of any authorization gap. In that environment, PDP-Level Filtering is not just a design preference; it is a practical control for reducing data reach before privileged identities can over-collect it. For implementation context, compare this with the broader NHI control themes in the Ultimate Guide to NHIs and the policy-oriented structure of the NIST Cybersecurity Framework 2.0.

Organisations typically encounter the consequences only after a data exposure investigation shows that an agent, integration, or service account could read far more than it should, at which point PDP-Level Filtering becomes operationally unavoidable to address.

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 and OWASP Agentic AI Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST Zero Trust (SP 800-207) and NIST SP 800-63 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-06 Covers authorization boundaries and overexposure patterns for non-human identities.
NIST CSF 2.0 PR.AC Defines access control outcomes that align with policy-enforced data retrieval.
NIST Zero Trust (SP 800-207) SC-4 Supports continuous, context-aware authorization before resource exposure.
NIST SP 800-63 Identity assurance informs whether a machine subject should receive scoped data access.
OWASP Agentic AI Top 10 A10 Agentic systems need bounded data access to prevent tool-driven overreach.

Push policy into data access paths so NHI queries only return records the identity is allowed to see.