Get the newsletter
Microsoft · Security · Filed May 30, 2025 · USPTO published Dec 3, 2026 · This week's release

Microsoft Files Patent to Keep AI Assistants From Leaking Data You Can't Access

An AI assistant can read data you're locked out of, and a cleverly worded question might get it to repeat that data to you. Microsoft's patent application tries to close that gap by blacking out sensitive details before the assistant ever sees them.

An AI assistant checks a user's permissions and hides restricted information before answering questions. Drawing from patent filing US 2026/0387389 A1.
An AI assistant checks a user's permissions and hides restricted information before answering questions.All 8 drawings ↓
Publication number
US 2026/0387389 A1(US20260387389A1)
USPTO patent title:
Protecting Data for Interactions with Artificial Intelligence Assistants
Applicant
Microsoft Technology Licensing, LLC
Filed · Published
May 30, 2025 · Dec 3, 2026
Inventors
Prabhakaran SETHURAMAN, Shanthi PRABHAKARAN
Status when we published
Examiner raised objections; the company can respond
Document
20 claims
US classification
726/1
Examiner
DO, KHANG D (Art Unit 2492)

What Microsoft's AI data-masking patent does

You're at work, typing into the company's AI assistant: "Show me the sales records." The assistant can reach the whole database, including customer names and email addresses your job was never cleared to see. Ask in just the right way, and it might hand them over.

Microsoft's patent application goes after that gap. Before the assistant reads any data, a separate checker looks up who you are and what your role allows. Depending on the answer, it leaves the data alone, blanks out some sensitive fields, or blanks out all of them. The assistant only ever works from the cleaned-up copy.

So a manager might see the full table, a colleague might see "Customer 1" and "Customer 2" where names used to be, and someone with the tightest access might get only a summary, like total units sold.

From the filing · CLAIM 1
… determining a role for accessing the dataset by the user, wherein the role comprises access permissions for the dataset; generating a processed dataset from the dataset, including: applying a masking policy defined in the access permissions for the dataset …

Translation: Checking what information the user is allowed to see and hiding restricted data before the AI reads it.

How the data protector filters by user role

When you send a request, the assistant figures out which data it needs, such as a database table or a document, and fetches it. It then passes that data to a separate piece the filing calls a data protector, along with who is asking.

The data protector looks up your role, a bundle of access permissions. A global role covers all data, and a user-specific role can override it for one dataset. The three role types:

  • Full reader: nothing is masked.
  • Partial reader: only the fields the masking policy names are hidden.
  • Masked reader: every sensitive field is hidden.

Masking swaps real values for stand-ins, like "XXX-XX-XXXX" for a Social Security number or "Customer 1" for a name. Whole rows or columns can also be dropped. A masked reader gets summaries, such as "Total Sales: 750 units," instead of individual values.

Access can expire: in one example, full access lasts thirty minutes, then the user is treated as a masked reader. The filing also covers converting the cleaned data into vector embeddings (number codes the AI can search, built from chunks of long documents) and keeping audit logs of each request.

Why leaky AI assistants worry companies

If a company wants an AI assistant that can read real business data, this is the problem to solve first. An assistant that can see everything can repeat anything, and a cleverly worded question might be all it takes. Filtering the data before the assistant reads it means it can't repeat what it never saw, and your answers adjust to your access level.

The filing points at healthcare, finance and business software, where customer names and ID numbers are routine. It also describes audit logs and expiring access, features a company's security team would want to see. The examiner's first review rejected the claims as filed, which is routine and usually followed by amendments, so the final scope may change.

Microsoft's latest application is the 42nd we've tracked since July in our AI guardrails race watchlist, joining earlier work like one that stress-tests chatbot filters and one that fact-checks database answers.

Source: US 2026/0387389 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.

Get our take in your Top Stories

Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time Microsoft patent news breaks.

There are more where this came from

We read the new patents from Big Tech, carmakers and more and send you the ones worth knowing. Plain English, free, every week.

The drawings · 8 sheets

8 drawing sheets from US 2026/0387389 A1 · click any drawing to enlarge

How an AI assistant filters company records before answering you, drawing sheet 1 from US 2026/0387389 A1
Sheet 1 How an AI assistant filters company records before answering you
Masking private files based on your user permissions, drawing sheet 2 from US 2026/0387389 A1
Sheet 2 Masking private files based on your user permissions
Hiding specific rows or columns of data from the AI, drawing sheet 3 from US 2026/0387389 A1
Sheet 3 Hiding specific rows or columns of data from the AI
Breaking permitted information into smaller pieces for the AI, drawing sheet 4 from US 2026/0387389 A1
Sheet 4 Breaking permitted information into smaller pieces for the AI
Checking whether your temporary access window has expired, drawing sheet 5 from US 2026/0387389 A1
Sheet 5 Checking whether your temporary access window has expired
Logging every step the AI took to create your answer, drawing sheet 6 from US 2026/0387389 A1
Sheet 6 Logging every step the AI took to create your answer
Computer components that run the privacy protection program, drawing sheet 7 from US 2026/0387389 A1
Sheet 7 Computer components that run the privacy protection program
Cloud servers that host workplace apps and protect your data, drawing sheet 8 from US 2026/0387389 A1
Sheet 8 Cloud servers that host workplace apps and protect your data
Patent filing page

Watchlists this filing belongs to

All watchlists →
Reader comments

No comments yet

Start the discussion

Real name or a handle, either is fine. Comments are read by a person before they appear, so allow a little time. Keep it about the filing.