Database Role Sharing Using Hidden Cross-Account Role Mapping

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Challenges exist in securely and scalably sharing data between different customer accounts in database systems, particularly in managing database-level roles and metadata for data providers and consumers.

Innovation Solution

A method and system for granting hidden provider-side database-level roles to consumer-side accounts, enabling secure and scalable data sharing by creating share-wide hidden roles and mounting shadow databases, allowing data consumers to access and manage database roles through consumer-side account-level roles.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If data sharing is implemented between different customer accounts in database systems, then data accessibility and collaboration are improved, but security risks and system complexity increase

Engineering Contradiction:
Improvedata sharing capabilityVSAvoidsecurity
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent segments database access control into multiple hierarchical levels: account-level roles, database-level roles, and table-level roles. This segmentation allows fine-grained control over data sharing permissions, enabling different security policies for different data granularities while maintaining overall system security. The layered role structure prevents unauthorized access by requiring permission validation at each level.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary role-granting mechanism that acts as a mediator between data providers and data consumers. The system automatically manages role assignments and permission propagation through this intermediary layer, reducing direct security exposure between accounts while enabling controlled data sharing. The intermediary validates and enforces security policies during the data sharing process.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of manufacture

If traditional data sharing methods are used between customer accounts, then implementation is straightforward, but scalability and security management become challenging

Engineering Contradiction:
Improveimplementation simplicityVSAvoidscalability
Core Design Contradiction:
Ease of manufactureVSAdaptability or versatility

Solution Approach 1:

The patent creates a universal role-granting framework that can be applied across multiple customer accounts and database instances. The account-level roles and database-level roles serve multiple functions: they control access within a single account, manage sharing between accounts, and propagate permissions across the entire database system. This multi-functional role system enables scalable data sharing without requiring separate implementation for each account pair.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent implements preliminary action by pre-defining account-level roles and database-level roles before actual data sharing occurs. These roles are prepared in advance with appropriate permission templates, allowing rapid deployment of data sharing arrangements when needed. The pre-configured roles reduce the complexity of real-time permission management and enable scalable onboarding of new data sharing relationships.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If detailed role management is implemented for data sharing, then security and access control are improved, but system complexity and operational overhead increase

Engineering Contradiction:
Improveaccess controlVSAvoidrole management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements a nested role structure where account-level roles contain database-level roles, which in turn contain table-level roles. This nested doll architecture allows hierarchical permission management where broader account-level permissions are broken down into more specific database and table level permissions. The nesting reduces operational complexity by allowing administrators to manage permissions at the highest appropriate level while maintaining fine-grained control at lower levels.

Inventive Principle:
Principle #7Nested doll (Nesting)

Solution Approach 2:

The patent merges multiple permission management functions into a unified role-granting system. Account-level roles, database-level roles, and table-level roles are combined into a single coherent framework that handles both internal account access control and external data sharing permissions. This merging eliminates the need for separate permission management systems and reduces operational overhead through centralized role administration.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS12568090B2Systems and methods for managing database-level roles for data sharing
Publication Date: 2026.03.03 SNOWFLAKE INC
  • US12568090B2 patent drawing
  • US12568090B2 patent drawing
  • US12568090B2 patent drawing

AI summary

Disclosed herein are systems and methods for managing database-level roles for data sharing. In an embodiment, a database system shares a database that resides in a data-provider account with a data-consumer account. The provider-side database includes a provider-side database-level role. The database system receives a request to grant the provider-side database-level role to a consumer-side account-level role in the data-consumer account. The database system responsively grants a hidden provider-side database-level role in the data-provider account to a hidden consumer-side database-level role in the data-consumer account, where the hidden provider-side database-level role had been granted to the provider-side database-level role, and grants the hidden consumer-side database-level role to the consumer-side account-level role in the data-consumer account.