{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"論理ビューのセキュリティモード","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"論理ビューのセキュリティモード","__idx":0},"children":["論理ビューのセキュリティモード"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["論理ビューは、ビューによって参照されるテーブルへのアクセス時に権限がどのように評価されるかを制御する2つのセキュリティモードをサポートしています: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DEFINER"]},"と",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["INVOKER"]},"です。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"概要","__idx":1},"children":["概要"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["セキュリティモードは、ビューが基盤となるテーブルにアクセスする際に、誰の権限が使用されるかを決定します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DEFINERモード"]},": ビューはビュー",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["オーナー"]},"の権限で実行されます"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["INVOKERモード"]},": ビューは",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["クエリ実行者"]},"の権限で実行されます"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["デフォルトのセキュリティモードは",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DEFINER"]},"で、これはほとんどのデータベースシステムで使用される標準規約に従っています。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ビューがビューと同じデータベースに保存されているテーブルのみを参照する場合、セキュリティモードは重要ではありません。これは、アクセス制御がデータベースレベルで実行されるためです。セキュリティモードは、ビューが異なるデータベース間でテーブルを参照する場合に関連します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"definerモードデフォルト","__idx":2},"children":["DEFINERモード（デフォルト）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["DEFINERモードでは、ビューに対するクエリは、クエリを実行するユーザーではなく、ビューを作成した（所有する）ユーザーの権限を使用して実行されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"definerモードを使用する場合","__idx":3},"children":["DEFINERモードを使用する場合"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の場合にDEFINERモードを使用します:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["機密データへの制御されたアクセスを提供"]},": 基盤となるテーブルへの直接アクセスを許可することなく、ユーザーが特定の列またはフィルタリングされた行をクエリできるようにします"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["パーミッション管理を簡素化"]},": ビューをクエリする必要があるすべてのユーザーに権限を付与する代わりに、ビューオーナーに一度だけ権限を付与します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["抽象化レイヤーを作成"]},": 複雑なセキュリティロジックをシンプルなビューインターフェースの背後に隠します"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"例","__idx":4},"children":["例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"CREATE VIEW filtered_data.customers\nSECURITY DEFINER\nAS\nSELECT customer_id, customer_name, country\nFROM source_data.customers\nWHERE country IN ('US', 'CA', 'MX');\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この例では:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ビューは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filtered_data"]},"データベースに作成され、参照されるテーブルは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["source_data"]},"データベースにあります"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ビューオーナーは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["source_data.customers"]},"テーブルへのアクセス権限を持っています"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filtered_data.customers"]},"をクエリするユーザーは、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["source_data"]},"データベースまたは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["source_data.customers"]},"テーブルへの直接的な権限は",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["不要"]},"です"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["すべてのユーザーは、自身の権限に関係なく、US、CA、またはMXの顧客のみを表示します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ビューはオーナーの権限で実行されます。この権限には、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["source_data.customers"]},"テーブル全体へのアクセスが含まれます"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アクセス制御はデータベースレベルで行われるため、DEFINERセキュリティモードを効果的に活用するには、ビューは参照テーブルが保存されているデータベースとは異なるデータベースに定義する必要があります。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ネストされたビューでのdefinerモード","__idx":5},"children":["ネストされたビューでのDEFINERモード"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ビューが他のビューを参照する場合、各ビューのセキュリティモードは独立して評価されます:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"-- view_aはtable_cを参照\nCREATE VIEW view_a\nSECURITY DEFINER\nAS SELECT * FROM table_c;\n\n-- view_bはview_aを参照\nCREATE VIEW view_b\nSECURITY DEFINER\nAS SELECT * FROM view_a;\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SELECT * FROM view_b"]},"を実行すると:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["view_b"]},"は、view_bのオーナーの権限でアクセスされます（DEFINERモード）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["view_a"]},"は、view_aのオーナーの権限でアクセスされます（DEFINERモード）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["table_c"]},"は、view_aのオーナーの権限でアクセスされます（DEFINERモード）"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"invokerモード","__idx":6},"children":["INVOKERモード"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["INVOKERモードでは、ビューに対するクエリは、ビューオーナーではなく、クエリを実行しているユーザーの権限を使用して実行されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"invokerモードを使用する場合","__idx":7},"children":["INVOKERモードを使用する場合"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の場合にINVOKERモードを使用します:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ユーザーレベルの権限を強制"]},": 各ユーザーが、自身の権限に基づいてアクセスを許可されたデータのみを表示できるようにします"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["セキュリティを変更せずにクエリロジックを簡素化"]},": 既存の権限モデルを維持しながら、再利用可能なクエリテンプレートを提供します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["誰が何にアクセスしたかを監査"]},": ビューオーナーではなく、実際のクエリ実行者に基づいてアクセスを追跡します"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"例-1","__idx":8},"children":["例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"CREATE VIEW analytics.all_customer_orders\nSECURITY INVOKER\nAS\nSELECT o.order_id, o.customer_id, o.amount, c.customer_name\nFROM source_data.orders o\nJOIN source_data.customers c ON o.customer_id = c.customer_id;\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この例では:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ビューは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["analytics"]},"データベースに作成され、参照されるテーブルは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["source_data"]},"データベースにあります"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ユーザーは、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["source_data.orders"]},"テーブルと",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["source_data.customers"]},"テーブルの両方へのアクセス権限を持っている必要があります"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["各ユーザーは、自身の権限に基づいてアクセスを許可されたデータのみを表示します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ユーザーが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["source_data.customers"]},"テーブルへの権限を持っていない場合、クエリは失敗します"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ネストされたビューでのinvokerモード","__idx":9},"children":["ネストされたビューでのINVOKERモード"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ビューがINVOKERモードで他のビューを参照する場合:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"-- view_aはtable_cを参照\nCREATE VIEW view_a\nSECURITY INVOKER\nAS SELECT * FROM table_c;\n\n-- view_bはview_aを参照\nCREATE VIEW view_b\nSECURITY INVOKER\nAS SELECT * FROM view_a;\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SELECT * FROM view_b"]},"を実行すると:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["view_b"]},"は、クエリ実行者の権限でアクセスされます（INVOKERモード）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["view_a"]},"は、クエリ実行者の権限でアクセスされます（INVOKERモード）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["table_c"]},"は、クエリ実行者の権限でアクセスされます（INVOKERモード）"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ネストされたビューの制限事項","__idx":10},"children":["ネストされたビューの制限事項"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["DEFINERセキュリティモードの論理ビューは、INVOKERセキュリティモードの論理ビューを参照すべきではありません。この組み合わせは予期しない権限動作を引き起こす可能性があり、推奨されません。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"比較表","__idx":11},"children":["比較表"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"側面"},"children":["側面"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"DEFINERモード"},"children":["DEFINERモード"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"INVOKERモード"},"children":["INVOKERモード"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["使用される権限"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ビューオーナーの権限"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["クエリ実行者の権限"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ユースケース"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["機密データへの制御されたアクセス"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーレベルの権限強制"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["権限設定"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ビューオーナーにのみ権限を付与"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["すべてのユーザーに権限を付与"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["セキュリティ上のメリット"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["特定の列/行へのデータアクセスを制限"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["既存の権限モデルを強制"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["デフォルト"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["はい"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"セキュリティモードの指定","__idx":12},"children":["セキュリティモードの指定"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ビュー作成時","__idx":13},"children":["ビュー作成時"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ビューを作成する際は、CREATE VIEWステートメントでセキュリティモードを指定します:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"-- DEFINERモード（デフォルト）\nCREATE VIEW view_name\nSECURITY DEFINER\nAS\nSELECT * FROM table_name;\n\n-- INVOKERモード\nCREATE VIEW view_name\nSECURITY INVOKER\nAS\nSELECT * FROM table_name;\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["セキュリティモードを指定しない場合、デフォルトでDEFINERが使用されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"セキュリティモードの変更","__idx":14},"children":["セキュリティモードの変更"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["セキュリティモードは、Data Workbench UIまたはSQLを使用して変更できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["UIを使用する場合:"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Data Workbenchでビュー詳細ページに移動します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["メニュー（⋯）を選択し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["詳細を編集"]},"を選択します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["論理ビューの詳細を編集"]},"ダイアログで、以下を選択します:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Definer"]},": ビュー作成者の権限を使用します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Invoker"]},": 現在のユーザーの権限を使用します"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["確認"]},"を選択して変更を適用します"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/logical-view-edit-details-dialog.e55c3c71ef4577f32e40badcd4c2eb9904ce516dcade6a1ff89fe06a9b57e635.4c190181.png","alt":"論理ビューの詳細を編集ダイアログ"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["SQLを使用する場合:"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["セキュリティモードをSQLで変更するには、CREATE OR REPLACE VIEWを使用します:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"-- INVOKERモードに変更\nCREATE OR REPLACE VIEW view_name\nSECURITY INVOKER\nAS\nSELECT * FROM table_name;\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["CREATE OR REPLACE VIEWを使用する場合、完全なクエリ定義を再指定する必要があります。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"重要な考慮事項","__idx":15},"children":["重要な考慮事項"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"definerモードではビューのオーナーシップが重要","__idx":16},"children":["DEFINERモードではビューのオーナーシップが重要"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["DEFINERモードを使用する場合、ビューオーナーの権限が重要です"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ビューオーナーが削除されると、DEFINERモードのビューは機能しなくなります"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["DEFINERビューを所有するユーザーを削除する前に、適切な権限を持つ別のユーザーにオーナーシップを委譲してください"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"列レベルセキュリティの制限","__idx":17},"children":["列レベルセキュリティの制限"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["論理ビューの列には、データ分類のタグを付けることはできません"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ユーザーがカラムパーミッション（タグ付けされていない列を表示できない）を持っている場合、クエリで論理ビューを使用できません"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["この制限は、セキュリティモードに関係なく適用されます"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"次のステップ","__idx":18},"children":["次のステップ"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/data-workbench/databases/logical-views"},"children":["論理ビュー"]}," - 論理ビューの作成、表示、管理に関する完全ガイド"]}]}]},"headings":[{"value":"論理ビューのセキュリティモード","id":"論理ビューのセキュリティモード","depth":1},{"value":"概要","id":"概要","depth":2},{"value":"DEFINERモード（デフォルト）","id":"definerモードデフォルト","depth":2},{"value":"DEFINERモードを使用する場合","id":"definerモードを使用する場合","depth":3},{"value":"例","id":"例","depth":3},{"value":"ネストされたビューでのDEFINERモード","id":"ネストされたビューでのdefinerモード","depth":3},{"value":"INVOKERモード","id":"invokerモード","depth":2},{"value":"INVOKERモードを使用する場合","id":"invokerモードを使用する場合","depth":3},{"value":"例","id":"例-1","depth":3},{"value":"ネストされたビューでのINVOKERモード","id":"ネストされたビューでのinvokerモード","depth":3},{"value":"ネストされたビューの制限事項","id":"ネストされたビューの制限事項","depth":2},{"value":"比較表","id":"比較表","depth":2},{"value":"セキュリティモードの指定","id":"セキュリティモードの指定","depth":2},{"value":"ビュー作成時","id":"ビュー作成時","depth":3},{"value":"セキュリティモードの変更","id":"セキュリティモードの変更","depth":3},{"value":"重要な考慮事項","id":"重要な考慮事項","depth":2},{"value":"DEFINERモードではビューのオーナーシップが重要","id":"definerモードではビューのオーナーシップが重要","depth":3},{"value":"列レベルセキュリティの制限","id":"列レベルセキュリティの制限","depth":3},{"value":"次のステップ","id":"次のステップ","depth":2}],"frontmatter":{"seo":{"title":"論理ビューのセキュリティモード"}},"lastModified":"2025-12-13T12:23:05.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/customer-data-platform/data-workbench/databases/logical-view-security-modes","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}