# How do you keep a generative AI assistant from exposing data to the wrong users?

Exam: AB-731 — AI Transformation Leader
Knowledge domain: Identify the business value of generative AI solutions
Updated: 2026-11-25T07:20:43.710027+00:00
HTML: https://learningpathx.com/faq/AB-731/ab731-secure-generative-ai-data-and-identities.html

## Also asked as

- How should an AI assistant preserve identity and data permissions across the workflow?
- How can a generative AI application prevent unauthorized access to company data?

Authenticate users and services, then enforce authorization for each source and operation in the application and data layers. A user’s ability to read a record does not automatically authorize a write, disclosure, or external action. Give people, applications, agents, and their tools separate, scoped identities and require appropriate authentication for each.

Trace sensitive data from its source through ingestion or live retrieval, any index or cache, the assembled prompt, model access, outputs, and logs. Minimize sensitive content, preserve applicable permissions, and set purpose, retention, and audit controls. Test that protected content remains restricted when copied to a derived store and after access changes. Where shared responsibility applies, the organization still owns its use case, configuration, data, and user access.

For example, use two representative access profiles to ask the same question about a restricted policy. Check the retrieval results, generated answers, and any diagnostic records that each profile can reach. Verify the denied path and the removal of access after revocation as well as the permitted path.

[Microsoft’s Zero Trust guidance for secure AI](https://learn.microsoft.com/en-us/security/zero-trust/security-adoption-scenario-secure-ai) · [Microsoft AI shared responsibility](https://learn.microsoft.com/en-us/compliance/assurance/assurance-artificial-intelligence)

Source: [AB-731: Data Quality, Reliability, Bias, and Security in Generative AI](https://learningpathx.com/news/ab-731-data-quality-reliability-bias-and-security-in-generative-ai.html)
