ID認識型/ACL認識型RAG

用語・参照用語・参照実挙動未確認実挙動未観測鮮度未確認鮮度を確定できない
提供元・モデル・プラン・利用環境
Microsoft · Google · Gemini
記事ID
EA-066

要点

「RAGで元データの権限を守るには、文書にACLを付けて保存するだけでは足りない。検索時の利用者を識別し、その時点で有効な権限と照合して、許可された文書・チャンクだけをLLMのコンテキストへ渡す必要がある。さらに、元データの権限変更が検索インデックスへ反映されるまでには遅延があり得るため、ACL同期の鮮度も認可状態の一部として監視する。『ログイン済み』『検索結果では非表示』『RAG対応』はいずれも、元データと同じアクセス境界が保たれている証明にはならない。」

現在の判断

EA-066 is technically established as a distinct update topic. ACL-aware RAG should be defined as authorization-preserving retrieval, not merely metadata tagging.

どこまで当てはまるか

Azure AI Search: REST/API revision and preview status; source type (ADLS/Blob/SharePoint/OneLake etc.); Microsoft Entra identity; indexed permission metadata freshness; Purview policy where used; SDK preview package where relevant. Google Gemini Enterprise / Agent Search: configured identity provider/workforce identity; managed organization identity; data-source type; acl_info presence; aclEnabled datastore setting; connector-specific domain/ownership/admin prerequisites. Elastic: connector support list; connector/server version; beta status; subscription tier; source-specific permission sync behavior.

詳しく理解する

対象範囲と前提

Enterprise AI Core: ID/認可、最小権限、RAGセキュリティ境界、派生した成果物の運用管理・統制。 Provider mapping: Microsoft Azure AI Search、Google Gemini Enterprise / Agent Search。 実装 / OSSの慣行: Elastic content connectors DLS。 Governance/security: NIST Zero Trust、OWASP GenAI。 Benchmark/research: ACL 2026 LeakDojoをfailure evidenceとして限定利用。

検討ポイント

Q1. ACL(アクセス制御リスト)を考慮したRAGは、ソースのACLをインデックスのメタデータにコピーするだけでなく、呼び出し者のアイデンティティに基づくクエリ実行時の強制適用まで必要か。 Q2. ACL/group membership変更とindex側permission metadataの同期遅延は、越権retrievalの独立したfailure envelopeになるか。 Q3. retrievalで許可された情報から生成されるsummary、cache、memory、logなどの派生物にも別途authorization/lifecycle設計が必要か。

根拠資料

  • 資料の種類:公式規格 正確なタイトル: NIST SP 800-207, Zero Trust Architecture 著者・組織:NIST canonical URL: https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-207.pdf 公開・更新・参照:2020年8月 / 参照日 2026-09-15 version/release: SP 800-207 Final supporting locator: abstract access model; §2/§3, PDP/PEP and individual resource access requests evidence label: 仕様確認済み relation: support / context established: access is decided through policy decision/enforcement points; enterprises should explicitly authenticate/authorize subjects and enforce dynamic policy for individual resource requests rather than infer continuing trust from an earlier login. This is the architectural basis for placing authorization at or before the RAG retrieval boundary.
  • 資料の種類:公式製品文書 正確なタイトル: Document-Level Access Control - Azure AI Search author/org: Microsoft canonical URL: https://learn.microsoft.com/en-us/azure/search/search-document-level-access-overview 公開・更新・参照:現行ページ 公開・更新 2026-08 / 参照日 2026-09-15 version/release/API: native ACL/RBAC ingestion and token enforcement are preview; 2026-08-01-preview is documented for current permission-restricted scenarios; SharePoint ACL ingestion includes 2026-05-01-preview behavior supporting locator: Retrieve ACL permissions metadata; Enforce document-level permissions at query time; permission synchronization notes evidence label: 仕様確認済み + 製品情報は要再確認 対応関係:裏付け/適用限界 established: Azure AI Search can store source permission metadata and, with x-ms-query-source-authorization, compare caller Entra claims against indexed ACL/RBAC/Purview/SharePoint permission metadata. Microsoft explicitly states that source permission changes affect results only after the relevant metadata is synchronized to the index. SharePoint inherited-permission changes can require explicit refresh. Preview timing lag is documented.
  • 資料の種類:公式製品文書 exact title: Configure access controls for custom data sources 著者・組織:Google Cloud / Gemini Enterprise canonical URL: https://docs.cloud.google.com/gemini/enterprise/docs/identity 公開/更新/アクセス: 最終更新 2026-09-03 UTC / アクセス日 2026-09-15 バージョン/リリース:現在のGemini Enterpriseドキュメント。 supporting locator: Overview; Cloud Storage and BigQuery acl_info / aclEnabled procedures evidence label: 仕様確認済み + 製品情報は要再確認 対応関係:裏付け/利用できる条件 確立済み:Gemini Enterpriseは、設定されたIDプロバイダーを通じてエンドユーザーを特定し、検索結果をアクセス可能なドキュメントのみに制限します。カスタムデータソースには、ACLメタデータ(ユーザーまたはグループの主体を含むacl_info)と、アクセス制御されたデータストアの設定(aclEnabled=true)が必要です。したがって、ID管理とACLの取り込みが実際に設定されていない限り、製品が存在すること自体が安全なACLの伝播を意味するわけではありません。
  • 資料の種類:公式製品文書 exact title: Create a search data store 著者・組織:Google Cloud / Agent Search canonical URL: https://docs.cloud.google.com/generative-ai-app-builder/docs/create-data-store-es 公開・更新・参照:現行 / 参照日 2026-09-15 version/release: current Agent Search documentation supporting locator: Google Drive connection prerequisites and security-control limitations evidence label: 仕様確認済み + 製品情報は要再確認 対応関係:裏付け/適用限界 established: Google Drive federation requires identity-provider configuration to enforce data-source access control and imposes managed-account/domain constraints. Federation avoids copying source data into the search index, but this does not eliminate identity/configuration gates or downstream handling considerations.
  • 資料の種類:業界のセキュリティ指針 exact title: LLM08:2025 Vector and Embedding Weaknesses 作成者/組織:OWASP GenAI Security Project canonical URL: https://genai.owasp.org/llmrisk/llm082025-vector-and-embedding-weaknesses/ 公開・更新・参照:2025 版 / 参照日 2026-09-15 バージョン/リリース: OWASP GenAI LLM Top 10 2025, LLM08 evidence label: SOURCE_REPORT 対応関係:裏付け/失敗の範囲 確立された事実: OWASP は、異なるアクセス制限を持つデータが同一のベクトル/RAG環境を共有する場合に、不正アクセスやデータ漏洩が発生する可能性があることを特定しており、権限を認識できるベクトルデータベースを推奨している。これはセキュリティ上のガイダンスであり、特定の実施内容を保証するものではない。
  • 資料の種類:著者が保守する実装文書 exact title: Document level security for content connectors 著者・組織:Elastic canonical URL: https://www.elastic.co/docs/reference/search-connectors/document-level-security 公開・更新・参照:参照日 2026-09-15 バージョン/リリース: 8.9.0でコネクタDLSを導入; 文書化された機能は、引き続きベータ版であり、サブスクリプションに依存する supporting locator: Availability & prerequisites; supported connectors evidence label: OSS_PRACTICE + 製品情報は要再確認 関係性:実装の文脈/制限 established: Elastic connectors can preserve user/group-based document-level security for multiple enterprise sources, but connector DLS is explicitly beta and not available at all subscription levels. It demonstrates a practical ACL-preserving ingestion/retrieval pattern without establishing universal behavior.
  • 資料の種類:査読付き研究の一次資料 exact title: LeakDojo: Decoding the Leakage Threats of RAG Systems author/org: Maosen Zhang et al.; Findings of ACL 2026 canonical URL: https://aclanthology.org/2026.findings-acl.287/ 公開・更新・参照:2026年7月 / 参照日 2026-09-15 version/release: ACL 2026 paper; DOI 10.18653/v1/2026.findings-acl.287 supporting locator: abstract and evaluation across 6 attacks, 14 LLMs, 4 datasets evidence label: RESEARCH relation: counter / failure context established: controlled evaluations show that RAG databases can be susceptible to leakage attacks and that stronger instruction-following / higher RAG faithfulness can correlate with greater leakage in the tested settings. This supports testing retrieval leakage independently of normal quality, but does NOT establish ACL bypass in every product or deployment.

確認できていること

  • 安全なエンドツーエンドの連鎖は以下の通りです:権限を持つソースの権限 → アイデンティティ/プリンシパルのマッピング → 権限メタデータまたはフェデレーションされたソースによる強制 → クエリ時の認可 → 認可された候補/チャンクのみの取得 → コンテキストの組み立て → 生成/引用。LLM がすでに権限のない一節を受け取った後に認可を行うのでは、ソースの境界を維持するには遅すぎます。[NIST およびプロバイダーの実装からの推論]

  • Native product mechanisms exist, but their maturity and scope differ. Azure's current native token-based ACL/RBAC mechanisms are partly preview/API-version gated; Google requires identity-provider plus acl_info/aclEnabled for custom sources. Therefore 'supports RAG' and 'supports source-equivalent authorization' are separate product claims.

  • Permission freshness is security state. Azure explicitly documents that source permission changes are recognized only after permission metadata synchronization; stale ACL metadata can therefore create a window in which retrieval authorization no longer matches the source. [仕様確認済み + INFERENCE]

  • Security filters using copied user/group strings are workable but create an additional authorization data plane that the operator must keep correct. Native identity-token enforcement reduces some custom logic but still depends on synchronized permission metadata. [仕様確認済み / INFERENCE]

  • ACL(アクセス制御リスト)を考慮した検索自体は、そこから派生した要約、エージェントのメモリ、キャッシュ、トレース、ログ、エクスポート、またはダウンストリームのツール状態が、同じ制限を継承することを証明するものではありません。これらの成果物には、明示的なポリシーおよび出典・来歴の取り扱いが必要です。[推論; EA-015/064/065 を相互参照]

よくある失敗・反証

  • Source ACL present ≠ ACL correctly copied to every chunk/index record.

  • ACL copied ≠ current ACL; revocation/group changes can lag index refresh.

  • User authenticated ≠ authorized for every retrieved resource; NIST explicitly rejects blanket trust after base authentication.

  • Search/index service authorization ≠ source-document authorization. The application/service account can have broad index access while end-user results require separate trimming.

  • 検索後、表示前に行う結果の切り詰めは、権限のないコンテンツがすでにLLMやツールの一連の処理にさらされている場合、コンテキストの組み立て前に行う強制的な制限よりも効果が弱くなります。

  • Generated answer/citation may combine facts across documents. Source-document ACLs do not automatically define a safe policy for derived artifacts.

  • Federated retrieval can reduce copied-data persistence, but queries/identity/context can cross service boundaries and the source connector's authorization semantics remain provider-specific.

  • LeakDojo measures RAG leakage attacks in controlled systems; it is counterevidence against assuming retrieval databases are intrinsically private, not proof of an ACL defect in Azure/Google/Elastic.

実務での使い方

  • 仕様確認済み: provider implementations exist for identity/ACL-aware retrieval. Azure and Google both document query-result restriction based on caller identity and source/document permission metadata or federation. OSS_PRACTICE: Elastic provides connector DLS patterns. PROPOSAL for future Core: define AUTHORIZATION-PRESERVING RAG CONTRACT with fields: source_object_id, source_acl_revision/time, principal/user/group IDs, identity_provider, ingestion_time, permission_sync_time, index/chunk IDs, authorization_mode (native token / metadata filter / federation), query principal, policy decision, retrieved authorized chunk IDs, context assembly IDs, citation IDs, derived-artifact policy, cache/memory/log policy, and revocation convergence evidence.

  • Retrieval relevance/answer accuracy alone is not an authorization evaluation. Add security-specific measures:

  • unauthorized_retrieval_rate / false-allow rate (target must be zero for protected fixture)

  • false-deny rate

  • 親権限、継承された権限、グループ権限におけるACL(アクセス制御リスト)伝播の正確性。

  • revocation-to-enforcement latency

  • stale-cache/index hits after revoke

  • unauthorized content presence in assembled LLM context, citations, summary/cache/memory/logs

  • cross-principal isolation. LeakDojoは、情報漏洩の負荷テストの先行事例として参照されることはあっても、ACL(アクセス制御リスト)の固定手段として代用されるものではありません。

  • Security: authorization should be enforced before protected chunks enter model context; deny by policy when identity/ACL state required for a protected source is unresolved. Privacy: identity-aware search necessarily processes principal/group information; retain only what is necessary and separate identity telemetry from content logging. Audit: log source ACL revision/sync time, query principal, authorization mechanism, policy outcome, retrieved document/chunk IDs, and config/API revision sufficient for replay without logging sensitive content unnecessarily. Operability: treat ACL refresh and group-membership propagation as measurable SLOs. Alert when permission sync is stale or fails rather than silently continuing with old authorization metadata. Cost: native ACL/federated mechanisms can reduce custom authorization code but may impose product tier, index refresh, identity integration, and query overhead; no universal cost claim is established in this RUN.

  • 保護されたチャンクがモデルのコンテキストに入る前に、認可が行われなければならない。検索サービスの認証は、ドキュメントの認可ではない。Azure、Google、Elastic、およびDatabricksの認可モードは相互に置き換え可能ではない。Databricksのソーステーブルにおける属性ベースアクセス制御(ABAC)は、AI Searchインデックスには伝播しない。「一般的なソースACL伝播」という表現は禁止する。派生したサマリー、キャッシュ、メモリ、ログ、エクスポートは、ソースの認可を自動的には継承しない。

まだ確認できていないこと

  • / 再確認条件

    • 各provider/connectorでのnested group、dynamic group、guest/service principal、deny ACL、inherited ACLの完全な対応matrix。
    • permission metadataの最大遅延・SLA/SLO。Azureは遅延存在を明記するが普遍的な上限はこのRUNでは確定していない。
    • チャンク、埋め込み、要約、キャッシュ、メモリ、ログに対して、権限ラベルをどこまで自動伝播させるかに関するプロバイダー横断の仕様。
    • 導出された回答(derived answer)に複数のソースのACL(アクセス制御リスト)が混在する場合の、標準的な認可セマンティクス。
  • 外部根拠の再確認日が正式な本文・公開管理情報で確定していないため、現行性は未確認のまま保持する。確認日を推測して補わない。

根拠資料

この根拠欄には、主張に対応づけて登録された外部出典がありません。本文中の引用・参考資料がある場合は、適用条件や未確認事項とあわせて確認してください。

このページから探す

種類

主題

やりたいこと

読み終えたら、次の判断へ

この記事で確かめた条件を、関連する用語・道具・手段・運用知識に接続して確認できます。実装や更新の判断には、各記事の確認時点・根拠・未確認事項を引き継いでください。

最初の知見から実務判断まで、3つの読み方を見る