Android Secondary Storage Access Control via SELinux Labeling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Android devices do not allow exclusive access to secondary storage for television applications, leading to potential unauthorized access by other system applications to stored content.

Innovation Solution

Creating an application domain for the desired application and assigning a Security-Enhanced Linux (SELinux) label to provide exclusive access to secondary storage, ensuring only the designated application can access external storage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If Android devices allow multiple system applications to access Media Storage, then storage accessibility is improved, but security and exclusive access control deteriorate

Engineering Contradiction:
Improvestorage accessibilityVSAvoidsecurity
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent segments storage access by creating separate application domains with distinct SELinux labels for different applications. Each application receives a unique label (e.g., tvapp_label for television applications) that partitions the Media Storage access rights, allowing multiple applications to access storage simultaneously while maintaining exclusive control within each domain.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces SELinux labels as an intermediary layer between applications and Media Storage. This intermediary mechanism mediates access requests by enforcing domain-specific policies, allowing the system to grant storage access to multiple applications while preventing unauthorized cross-access through the label-based mediation layer.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If exclusive access to Media Storage is granted to a specific application, then security is improved, but storage accessibility deteriorates

Engineering Contradiction:
ImprovesecurityVSAvoidstorage accessibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent divides Media Storage access into segmented domains, where each application operates within its own labeled domain. This segmentation enables exclusive access within each domain while maintaining overall accessibility across multiple domains, resolving the contradiction between security and accessibility.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates a universal labeling system that can be applied to multiple applications simultaneously. The SELinux label mechanism provides a multi-functional framework that supports both exclusive access control and broad accessibility by allowing different applications to be assigned appropriate labels for their specific needs.

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

3Manufacturing precision

If SELinux labels are implemented for storage access control, then access control precision is improved, but system complexity increases

Engineering Contradiction:
Improveaccess control precisionVSAvoidsystem complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent uses SELinux labels as reusable templates or copies of security policies. Instead of creating complex unique access control lists for each application, the system copies and applies standardized label definitions to multiple applications, achieving high access control precision while minimizing system complexity through policy reuse.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20240303377A1System and method for providing exclusive access to secondary storage to application on android device
Publication Date: 2024.09.12 ARRIS ENTERPRISES LLC
  • US20240303377A1 patent drawing
  • US20240303377A1 patent drawing
  • US20240303377A1 patent drawing

AI summary

A method, an Android device, and a non-transitory computer readable medium for providing exclusive access to Android storage. The method includes: creating, on an Android device, an application domain for a desired application; creating, on the Android device, a Security-Enhanced Linux (SELinux) label for Media Storage on the Android device; and giving, on the Android device, permission only to the desired application to access external storage on the Android device with the SELinux label.