Expedition. Free, on-demand.

Technical tracks for practitioners, outcomes for leaders.

AI Access Controls: Governing Data Access, Permissions and AI Actions

AI systems often operate with access to sensitive enterprise data and connected applications. Learn how security teams constrain that access, enforce authorization policies and track activity across AI workflows.

AI ACCESS CONTROLS DEFINED

AI access controls establish and enforce permissions for AI workloads, governing the information they retrieve, the resources they interact with and the actions they perform according to applicable identities, policies and execution context.

An employee authorized to access sensitive data isn’t necessarily authorized to give an AI system unrestricted access to that same information. Yet that’s effectively what can happen when a chatbot retrieves data using broadly privileged credentials or an AI agent inherits the full permissions of the person assigning a task. If the AI system is manipulated through prompt injection, those excess privileges also expand what an attacker might be able to reach.

As Mayank Upadhyay, Snowflake’s Chief Security and Trust Officer, points out, “The real challenge is governing everything the model touches.” Effective AI security requires establishing and enforcing the authority an AI system should have for a particular task, then preserving those restrictions as it retrieves data or invokes tools across connected systems. Equally important is maintaining a record of which AI system performed an operation, whose authority it used and who is accountable for its actions.

What are access controls for AI?

AI access controls are security mechanisms that govern which data, resources and operations artificial intelligence systems are authorized to access or use. They apply to chatbots retrieving enterprise information, AI assistants interacting with connected applications and autonomous agents performing multi-step tasks across multiple systems.

The scope of authorization depends on who initiated the request, the authority assigned to the AI workload and the policies governing the requested resource or action. An assistant operating on behalf of an employee, for instance, might be subject to both the employee’s existing permissions and additional restrictions on AI-mediated access.

Controls are enforced through the systems responsible for handling data requests and executing operations. Access policies applied at these boundaries limit the information and functionality available to an AI system, independently of the model’s instructions or generated responses.

Watch how Snowflake CoCo helps security and engineering teams enforce compliance guardrails and remediate governance gaps early in AI workflows:

Why AI workloads require additional access restrictions

Enterprise access controls use identities, roles and policies governing specific resources, including restrictions based on data classifications and sensitivity labels. When AI applications enter the workflow, an additional consideration comes into play: the user may have broader privileges than the AI system should have when executing a task.

Consider an enterprise chatbot used by financial analysts. An analyst’s role may permit access to confidential forecasts, customer information and transaction-level records. When the analyst asks the chatbot to calculate regional revenue growth, however, those broader permissions are unnecessary — and could expose sensitive data if an attacker uses prompt injection to manipulate the chatbot’s behavior.

The consequences of inadequate access restrictions are already appearing in breach research. According to IBM’s 2025 Cost of a Data Breach Report, 97% of organizations that reported a breach involving AI models or applications lacked proper AI access controls. The implications vary by application architecture. In a conversational interface, the primary concern may be limiting which enterprise information the assistant retrieves and incorporates into its responses. For retrieval-augmented generation (RAG), the execution identity and permissions of the retrieval service affect which indexed content is available.

Agentic workflows introduce additional considerations because agents can select tools, determine subsequent steps and initiate operations across multiple systems. An agent investigating a customer complaint, for example, might retrieve transaction records, query a billing application and then initiate a refund. Each operation may involve different permissions or execution identities, with authorization requirements.

These execution patterns make it important to distinguish the permissions associated with the human user from the authority exercised by the AI system. Security teams need mechanisms for establishing that authority, restricting it to the intended purpose and enforcing the resulting permissions throughout execution.

Determining what AI systems are allowed to access

Before establishing access policies for an AI workload, security teams need to identify which identity executes each operation and how that identity obtains its authority. This determines which permissions apply, what resources and actions are available, and which restrictions downstream services can enforce.

Account for the AI system’s execution identity

An AI application might access enterprise resources using delegated user credentials, a service identity or credentials assigned to the workload itself. The execution model determines which identity a connected system recognizes when evaluating a request.

Under a delegated execution model, an application acts on behalf of the requesting user, whose permissions establish the maximum authority available for the task. Additional restrictions on the AI workload, session or operation may further narrow that authority. Downstream systems need sufficient identity and authorization context to enforce those restrictions.

When an AI application uses a service account, security teams need to make sure it respects the permissions of the person making the request. For example, a chatbot might connect to a knowledge repository using credentials that provide access to every document, even though individual employees are authorized to see only certain ones. The application needs to enforce those restrictions during retrieval, whether through permission-aware filtering or separate retrieval services with more limited access. Otherwise, the chatbot could return information the employee wouldn’t be able to access directly.

Restrict AI authority to the task

To limit an AI system’s authority to the task at hand, security teams can use scoped credentials, session restrictions or policies that evaluate the requested operation and its context. For example, an assistant tasked with investigating database performance might receive read-only access to query history, even when the requesting user has administrative privileges. These restrictions establish a narrower permission scope for the AI workload without changing the user’s underlying access rights.

The appropriate mechanism depends on the execution environment. Scoped credentials limit the authority conveyed to a connected service, while session restrictions constrain available privileges during execution. Context-aware policies provide another means of evaluating individual operations according to attributes such as the requesting identity, data sensitivity or task.

Account for autonomous and delegated agents

AI agents may operate independently or on behalf of an authenticated user. Autonomous agents, such as those running scheduled analysis or monitoring tasks, typically need their own identities and permissions. Delegated agents operate within the user’s authority, subject to additional restrictions on what the agent is permitted to do.

In either case, maintaining a distinct agent identity supports attribution of actions to the responsible agent and, for delegated tasks, the user who initiated them.

QUICK TIP

When reviewing an AI application’s permissions, trace the execution identity used for each downstream operation. Verify which permissions the connected system actually evaluates before assuming that user-level restrictions are preserved.

Enforcing AI access controls on enterprise data

For chatbots and AI assistants connected to enterprise information, data retrieval is a critical enforcement point. Once confidential records or documents are included in model context, subsequent restrictions on the generated response offer limited protection against inappropriate exposure. Access controls must govern which information reaches the AI system during retrieval.

Apply access policies when data is retrieved

Existing data access controls provide a foundation for restricting what AI systems retrieve. Role-based permissions govern access to data resources, while row-level security and dynamic data masking restrict which records and values are returned. Organizations can also apply AI-aware policies that impose additional restrictions when data is accessed through an AI application, even if the requesting user has broader permissions.

Enforcement depends on the retrieval architecture. When an AI system queries a governed data source, the applicable policies are evaluated during query processing. Search services and retrieval indexes, however, may operate under a service owner’s permissions rather than the requesting user’s. In these environments, security teams need to enforce the appropriate restrictions through access-controlled indexes, authorization filters or other mechanisms supported by the retrieval service, ensuring that unauthorized information is excluded before it reaches the model.

Preserve restrictions on indexed and retained information

Retrieval-based applications can create additional representations of enterprise data, including document chunks, embeddings and cached search results. Those representations may be stored or accessed separately from the original source, with different mechanisms for enforcing permissions.

Security teams need to account for how source permissions are represented in the retrieval environment and how changes to those permissions affect subsequent requests. If an employee loses access to a confidential document, for example, an index with outdated authorization metadata might continue returning its contents.

Retained AI context is another concern. Conversation histories, stored summaries and persistent memory may contain information retrieved under permissions that have since changed. Appropriate access controls and retention policies are needed for these stored resources, including procedures for removing or restricting information that should no longer be available.

COMMON PITFALL

A common mistake is assuming that permissions on source data automatically carry over to search indexes, cached results and other copies used by AI applications. Depending on the retrieval architecture, those resources may use different execution identities or authorization mechanisms.

Controlling AI access to tools and external systems

While data access policies govern what AI systems retrieve, tool permissions determine which operations they can perform through connected services. This is particularly important for agentic workflows, where the system may choose among available tools and initiate actions without a separate user request for every step.

An integration with a CRM, for example, might expose functions for reading account information, updating customer details and deleting records. But an AI application assigned to summarize customer activity would require access to the first function only.

Restrict available tools and operations

Tool-level authorization allows organizations to define which integrations and functions are available to a particular AI workload. Depending on the system, restrictions may apply to entire services, individual API operations or the resources and parameters associated with a request.

The OWASP Top 10 for LLM Applications identifies Excessive Agency as a risk arising from unnecessary functionality, excessive permissions or excessive autonomy. Recommended mitigations include limiting tool functionality and applying least privilege to the operations an agent performs.

These restrictions are particularly relevant when an AI system encounters malicious instructions embedded in a retrieved document or tool response. Even if the model is manipulated into requesting an unintended action, the execution environment should prevent operations outside its authorized scope.

Enforce authorization during tool execution

In an agentic workflow, a model may select a tool and generate the parameters for invoking it. An agent harness manages the surrounding execution process, including tool routing, request validation and applicable runtime controls.

Authorization also needs to occur in the downstream system responsible for the operation. A payment service, for instance, should enforce its transaction permissions and approval requirements when an agent requests a refund, regardless of whether the tool call passed earlier validation.

When agents access several connected systems, the credentials and permissions used for each invocation may differ. Security teams should account for those transitions, particularly when a tool uses a privileged service identity or passes a delegated authorization token to another application.

The same principles apply to integrations using the Model Context Protocol (MCP). As MCP servers expose tools to AI applications, organizations need controls over which servers and functions are accessible, which credentials authorize the requests and how the connected services enforce their own permissions.

Tracking AI activity and establishing accountability

Access policies determine which operations are authorized, but governance also requires a record of what AI systems actually did. An audit entry showing that an employee’s credentials were used to query a sensitive table, for example, doesn’t show whether the query originated from an AI assistant acting on the employee’s behalf.

Security teams need sufficient context to distinguish the initiating user, the AI system involved and the operations performed.

Attribute activity to the responsible AI system

For delegated workflows, audit records should preserve the relationship between the user authorizing the work and the AI system carrying it out. Autonomous workloads require a similarly identifiable execution identity, associated with the agent responsible for the activity.

Where a task involves multiple agents or connected tools, tracing the sequence of operations provides additional context. The record should establish which component initiated a request, which downstream service processed it and what resources were accessed. This level of attribution supports investigations into unexpected access patterns and provides evidence for compliance reviews involving AI activity.

Capture authorization decisions and execution outcomes

Records of successful queries and completed operations tell only part of the story. Denied requests, attempted tool invocations, approval decisions and relevant policy changes also provide useful evidence about how access controls are functioning. Depending on the architecture, these events may be distributed across application logs, data platform audit histories, API gateways and agent execution traces.

Correlating records across systems is particularly important when an AI workflow involves multiple credentials or execution identities. Without a consistent way to connect related events, security teams may struggle to reconstruct the sequence of actions that followed a user’s original request. Audit systems also require their own access controls, especially where traces contain sensitive prompts, retrieved information or tool responses.

Establish ownership and review AI permissions

Attribution identifies which AI system performed an operation. Organizational accountability establishes who’s responsible for approving its authority and reviewing how that authority is used.

Production AI applications and agents should have designated owners responsible for access reviews, integration approvals and permission changes. These reviews need to consider the system’s effective privileges, including authority inherited through service accounts, user delegation and connected tools.

Changes to an AI workload’s capabilities should trigger a review. Adding a new integration, expanding access to a data repository or allowing an agent to perform write operations may significantly alter its authorization requirements. Periodic reviews, supported by records of actual activity, help security teams identify unnecessary permissions and confirm that the AI system’s authority remains appropriate for its function.

Implementing AI access controls with Snowflake

Snowflake supports AI access controls through established data governance policies and agent-specific mechanisms for restricting permissions and tracking activity. With Snowflake Horizon Catalog, organizations can govern access to enterprise data using role-based access control (RBAC), and, in Enterprise Edition and higher, row access policies and Dynamic Data Masking.

For agent-driven queries, Snowflake supports additional restrictions based on execution context. Data protection policies can distinguish agent activity from direct user access, while session-level controls limit an agent’s privileges to an approved subset of the user’s existing permissions. These mechanisms allow organizations to apply tighter restrictions to AI-mediated access without changing the user’s underlying privileges.

Snowflake’s agent identity capabilities also support accountability by recording which agents queried data and which objects they accessed, including activity involving multiple agents. This provides security teams with additional context for investigating access and reviewing agent behavior.

For agents interacting with external tools, Snowflake’s Cortex AI Gateway and MCP governance initiatives (currently in public preview) address tool-level permissions and activity visibility across connected systems. Individual capabilities are subject to their documented availability and deployment requirements.

Maintaining control over AI access and accountability

As organizations connect AI applications to additional data sources and enterprise systems, their access control architectures need to account for the identity and authority associated with each operation.

For security teams, the ongoing work involves keeping that authority aligned with the AI system’s intended function, particularly as its capabilities and integrations change. With access restrictions enforced throughout execution and sufficient records to attribute activity, organizations are better positioned to govern what AI systems access, what they do and who remains accountable for their actions.

KEY TAKEAWAY

An AI system’s effective permissions should reflect both the authority under which it operates and the restrictions appropriate to its task. Enforcing those limits across data sources and connected tools, while preserving attribution, reduces exposure to unauthorized access and actions.

Frequently Asked Questions

Your common questions about AI access controls, answered by Snowflake experts.

Access controls can’t prevent prompt injection itself, but they limit what an attacker can accomplish through a compromised AI system. Even if malicious instructions influence a model’s behavior, permissions enforced by data platforms, APIs and other connected services restrict which information the system can retrieve and which actions it can perform.

Agents that operate autonomously generally need distinct identities with permissions appropriate to their functions. For agents acting on behalf of users, preserving both the agent’s identity and the initiating user’s identity supports scoped authorization and accurate attribution. The appropriate approach depends on how the agent executes requests and how connected services handle delegated authority.

Organizations can apply existing data security mechanisms, including role-based permissions, row-level security and dynamic data masking, to AI retrieval requests. Additional policies may restrict access based on data classification, user context or whether AI is involved in the operation. Enforcement should occur before sensitive information enters the model’s context.

Revocation depends on the agent’s identity and credential model. Organizations may deactivate the agent’s service identity, revoke delegated tokens, remove role assignments or restrict access to specific integrations. For agents with active sessions or long-running workflows, security teams also need to consider whether existing credentials remain valid and when downstream systems reevaluate permissions.

Explore AI Resources

Explore AI Topics

Deep dives into every aspect of artificial intelligence