Abstract
This paper introduces a proactive, graph-based algorithm for secure database schema decomposition designed to prevent unauthorized data inference. By modeling functional dependencies as directed graphs, the authors propose a "relaxed-cut" approach that severs sensitive data associations while preserving essential application utility. Experimental results demonstrate that the algorithm is highly efficient, completing complex consistency checks and decompositions in milliseconds, making it a viable tool for proactive database design.
Introduction
In relational database management, ensuring data privacy often goes beyond simple access control. Even when users are restricted to specific views, they can sometimes infer sensitive, hidden information by performing "meaningful joins" across disparate tables using primary and foreign keys. For instance, a user with access to a vehicle tracking table and a citizen address table might use spatial correlations to link a specific individual to a sensitive location, violating privacy policies.
To mitigate this, database administrators can decompose external schemas to make such joins impossible. However, traditional "strong-cut" methods often remove identifiers too aggressively, destroying harmless but necessary functional dependencies. This paper proposes a "relaxed-cut" secure decomposition algorithm that optimizes the balance between privacy enforcement and data utility.
Modeling Functional Dependencies
The core of the proposed approach is the transformation of database schemas into a Functional Dependency Graph (FDG). In this model, vertices represent attribute sets, and directed edges represent functional dependencies between them.
By treating the schema as a graph, the abstract problem of data inference is converted into a path-finding problem. If a path exists between two attributes that should not be associated (a "Forbidden Set"), a privacy breach is possible. These paths are referred to as "join chains."
The Relaxed-Cut Algorithm
Unlike previous methods that break all links to a sensitive identifier, the authors' algorithm uses a greedy heuristic to find a "relaxed cut." The process involves:
- Identifying Join Chains: Using Depth-First Search (DFS) to find all simple paths in the FDG that allow forbidden associations.
- Edge Weighting: The algorithm counts how many forbidden join chains each edge (functional dependency) participates in.
- Selective Cutting: The most prominent edges are selectively removed until no forbidden paths remain. This ensures that the minimum number of functional dependencies are lost, preserving maximum utility for the application.
Consistency and Performance
A critical challenge in this approach is ensuring that privacy rules (Forbidden Sets) do not logically conflict with application requirements (Required Sets). The authors prove that this Consistency Check problem is NP-Complete. To address this, they provide an exhaustive algorithm that searches for a valid "cut set" of edges that satisfies both constraints.
Despite the theoretical complexity, the algorithm performs exceptionally well in practice. In benchmarks using synthetic schemas with 1,000 edges and 100 forbidden join chains, the consistency check and decomposition were completed in just 1 to 6 milliseconds. This high performance suggests that the algorithm scales effectively for real-world database schemas.
Conclusion
The proactive graph-based decomposition algorithm provides a robust framework for balancing privacy and utility in relational databases. By shifting from aggressive "strong-cuts" to optimized "relaxed-cuts," administrators can guarantee privacy without sacrificing the relational integrity required by applications. Future work may involve incorporating real-world query statistics to further prioritize the preservation of frequently accessed data paths.
Summary updated