Adaptive Permission Token for Bandwidth Reduction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
As the number of permissions for a client increases, the size of the token used to indicate permissions also grows, leading to a significant drain on system bandwidth and increased latency, making it impractical for systems to access the security server for each operation request.
Innovation Solution
Implementing a token system that limits the size by storing only a subset of permissions, such as the most recently used or frequently requested ones, and updates the token dynamically based on client behavior, allowing the security server to manage permission requests and updates efficiently.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a token stores all permissions for a client, then complete authorization coverage is achieved, but token size grows significantly increasing bandwidth consumption and latency
Solution Approach 1:
The permission set is segmented into two parts: frequently used permissions are stored in the token, while less frequently used permissions remain in the security server. This segmentation allows the token to remain small and bandwidth-efficient while still providing complete authorization coverage when needed.
Solution Approach 2:
Less frequently used permissions are extracted from the token and kept in the security server. The token only contains the essential, frequently accessed permissions, reducing its size and bandwidth consumption while maintaining the ability to access complete permission sets through server lookups when necessary.
2Reliability
If a token stores all permissions for a client, then complete authorization coverage is achieved, but latency increases due to larger token processing
Solution Approach 1:
By segmenting permissions into token-stored (frequently used) and server-stored (less frequently used), the token size and processing time are reduced. Common operations use only the compact token, minimizing latency, while complete authorization coverage is maintained through server lookups when needed.
Solution Approach 2:
The most frequently used permissions are preliminarily loaded into the token during authentication, so that common operations can proceed quickly without repeated server access. This preliminary action reduces latency for typical operations while maintaining complete authorization coverage.
3Loss of energy
If the token size is reduced to a subset of permissions, then bandwidth consumption decreases, but the system must dynamically update tokens based on client behavior
Solution Approach 1:
The system implements feedback mechanisms to monitor client behavior and identify frequently used permissions. Based on this feedback, the token contents are dynamically adjusted to include the most relevant permissions, optimizing bandwidth consumption while adapting to changing client needs.
Solution Approach 2:
The token is made dynamic rather than static, allowing its contents to be adjusted based on client behavior patterns. The system learns which permissions are most frequently used and updates the token accordingly, reducing bandwidth consumption while maintaining authorization effectiveness.
Data Source
AI summary
Techniques are disclosed relating to generating permission tokens. A first computer system may store permission information for a user that indicates a plurality of permissions for the user for accessing data within a database system. The first computer system may receive, from a user device, a permission request for permissions to perform actions at a second computer system. In response to authenticating the user, the first computer system may create a token with one or more permissions for the user by selecting the one or more permissions from the plurality of permissions stored for the user such that the created token does not exceed a specified size and may provide the token to the user device.


