Palantir's essay "Purpose-based Access Controls at Palantir" explains how Foundry can tie access to data to a stated reason, not only to a named person. It was published on December 4, 2020.

The essay is the second entry in Palantir Explained, a seven-part series. Palantir's hub page describes it as "A series that explains who we are, what we do, and the principles that guide our work." The hub summarizes part two in one line: "How we ensure data owners can take control of how their data is used."

The hub's blurb calls Purpose-Based Access Controls tools that are unique to Palantir Foundry. The concept also appears in Palantir's current AIP architecture documentation. That page says the platform makes every operation by humans and agents follow role-, marking- and purpose-based controls, and that those controls are cataloged in audit logging.

In our view, that makes the 2020 essay worth rereading. We think that once software agents act on data, why an account has access matters as much as who holds it.

The problem Palantir set out to solve

The essay starts with the customer's situation. "Our customers typically use many disparate systems that contain critical or sensitive data, and decision makers at these organizations need to draw upon this information to make business-critical — or even life-saving — decisions," Palantir writes. "It's imperative that access to this data is tightly controlled and tracked."

Palantir uses the pandemic as its example. "For example, to manage the spread of COVID-19, healthcare organizations have needed to rapidly bring together data from many systems — testing programs, care homes, and hospitals — and give thousands of users, from healthcare workers to academics, access to different subsets of this information."

The essay then names the governance problem. "Tracking who has access to what information and why, across thousands of datasets and thousands of users quickly becomes an exceptionally complex problem," it says. It adds that data governance teams must make sure users reach sensitive or personal data only when strictly necessary.

Palantir identifies two practical failure points. The first is informal requests: "Auditing decisions to grant access is difficult if the access requests were made by telephone, email, or even in person."

The second is handoffs. "Data governance teams often rely on more technical colleagues to grant access to the data itself, and this can make it hard for the data governance team to check whether their decision has been appropriately enforced," the essay says.

We think this diagnosis is the most useful part of the essay for anyone running a data program. In our view, the hard part is rarely the permission itself. It is keeping an auditable record of why the permission was granted.

How a Purpose works, and how it differs from roles

Palantir says it built the tool into Foundry's access layer. "We created the Purpose-Based Access Control tool to tackle this challenge by tightly integrating the data governance process into the underlying access control system of Palantir Foundry," the essay says.

It lists three design objectives:

  • "Introduce structure and clarity to data access decisions."
  • "Capture missing context and make it available to the people who need it."
  • "Build intuitive tooling for non-technical data governance teams to enforce rules."

The core mechanism changes what a user asks for. "Instead of applying for access to an individual data set, a potential user applies for access to a Purpose," Palantir writes. "The Purpose is set by data governance teams to contain data specifically scoped to help the user meet their goal — no more, no less. Every user must apply to a Purpose, and they only have access to the data that's been assigned to that Purpose."

"Data governance teams must record a rationale for their decision at the same time they grant a user access to data," the essay says. "Likewise, data owners must record a rationale when they approve the use of a data set for a Purpose."

Palantir says this has two effects. "Recording these justifications prompts both sides to continually consider the necessity and proportionality of their decisions. The output of that assessment is captured in Palantir Foundry, making it available to data governance teams for review."

The essay also makes an audit claim. "At any point, an auditor can understand not just who has access to what data, but also why they were given access — with all the context that went into that decision," Palantir writes.

The essay argues the model also makes it clearer when access should end. "Partitioning data processing into Purposes and assigning each Purpose an owner strengthens accountability and prevents the formation of 'dark areas' that have escaped governance oversight," it says. "Because it is clear why someone has access to a specific data set, it is also clearer when access is no longer necessary."

The essay does not frame Purposes against role-based access, so Foundry's documentation fills in that side. Its projects and roles page says: "Roles are sets of permissions that grant different levels of access to resources. Roles are a discretionary permission and generally granted at the project level to provide uniform capabilities on all resources within the project's scope."

It adds: "However, mandatory controls (organizations, markings, and Classification-based Access Controls) will always prevent an ineligible user from accessing a resource, regardless of the user's role."

Requests for project access also carry a reason. "They must provide a reason for access, the users and groups that should be granted access (if requesting on behalf of others), and how they should be granted access," the documentation says. Palantir's access control propagation page adds: "Mandatory controls travel with data through derivation."

In our view, a role answers what a person can do inside a project. As we read the essay, a Purpose answers which data a person needs for a defined goal, who agreed to that, and why.

Foundry's current privacy and civil liberties in practice guide sets out purpose limitation in its own terms. "Purpose limitation connects the collection, access, and use of data to specific, legitimate purposes," it says. "Define permitted purposes before granting access, and reassess permissions when a purpose ends or changes."

The guide describes the tools it uses for the job. "Checkpoints can ask users to provide a justification before sensitive interactions and retain the resulting records for review. Approvals can route requested changes or access through designated reviewers. Markings and project permissions can then enforce the access boundaries that your organization establishes."

On review, it says: "Audit Explorer lets reviewers search and review audit logs, and it logs each search so that reviewers' own use of audit data is also auditable."

The guide also tells customers where their own work begins. "Records alone do not create accountability," it says. "Organizations must determine which events to review, who performs that review, how often it occurs, and what happens when activity conflicts with policy." It adds: "An approval records a decision at a point in time; it does not authorize unrelated future uses."

What to watch

For Foundry builders and administrators, we think the practical lesson is to design access around goals from the start. In our view, scoping data to a purpose is easier on day one than retrofitting it across thousands of datasets.

For governance teams, Palantir pitches independence from technical colleagues. "Providing non-technical governance administrators with intuitive tooling enables them to grant access and enforce controls themselves, rather than relying on technical colleagues to do so on their behalf," Palantir writes.

For buyers comparing platforms, we think a useful question for any vendor is whether its audit trail records the reason for access, not only the grant. Palantir closes the essay with an invitation: "We believe that many organizations would benefit from implementing a purpose-based access model." It says it welcomes engagement from data governance experts and lists media@palantir.com as the contact.

Palantir's AIP documentation lists purpose-based controls alongside role- and marking-based controls for operations by both humans and agents. In our view, the thing to watch is how purpose-based controls in general develop as agents take on more work. We think the essay's central idea, recording why access exists and not only who has it, becomes more useful as that happens.