Encryption Gateway for Transparent Database Sensitive Data Protection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current database encryption methods face challenges in securely storing and managing encryption keys, and existing solutions either expose sensitive data to users or administrators or are not applicable to relational databases due to protocol constraints.

Innovation Solution

A method for transparently encrypting and decrypting sensitive information using a size-preserving encryption scheme, where sensitive data is encrypted inline as it flows between clients and a database server, with an encryption gateway managing access based on predefined policies, ensuring only authorized clients receive decrypted data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If selective encryption is applied to specific sensitive columns to reduce overhead, then encryption performance is improved, but sensitive data cannot be protected from users or administrators with access permissions

Engineering Contradiction:
Improveencryption performanceVSAvoiddata protection reliability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent introduces an encryption gateway as an intermediary component between the database server and clients. This gateway transparently encrypts sensitive data before it is stored in the database and decrypts it only when authorized access is required. The gateway acts as a mediator that protects sensitive data from both unauthorized users and overprivileged administrators, while maintaining encryption performance through its specialized design.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If encryption keys are stored on the protected storage media to enable efficient access, then ease of operation is improved, but security is compromised

Engineering Contradiction:
Improvekey access efficiencyVSAvoidencryption security
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The encryption gateway serves as an intermediary that manages encryption keys separately from the protected storage media. The gateway loads keys into memory when needed and performs all cryptographic operations, eliminating the need to store keys on the database server's storage media. This approach maintains ease of operation through efficient in-memory key access while preserving security by keeping keys off protected storage.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system segments the encryption functionality from the database server by introducing a separate encryption gateway component. This segmentation allows key management to be isolated from data storage, enabling efficient key access through the gateway's memory-based key store while preventing keys from being exposed on the protected storage media.

Inventive Principle:
Principle #1Segmentation

3Reliability

If entire database files are encrypted to protect sensitive data stored outside tables, then data protection is improved, but encryption overhead increases

Engineering Contradiction:
Improvedata protectionVSAvoidencryption overhead
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements local quality by applying encryption selectively to only the sensitive data portions of the database through the encryption gateway, rather than encrypting entire database files. The gateway identifies and encrypts only the specific sensitive columns or data elements that require protection, reducing encryption overhead while maintaining comprehensive protection for sensitive information stored anywhere in the database.

Inventive Principle:
Principle #3Local quality

4Reliability

If data is converted from clear text to ciphered text for encryption, then data security is improved, but data size increases affecting database logical structure

Engineering Contradiction:
Improvedata securityVSAvoiddata size
Core Design Contradiction:
ReliabilityVSVolume of moving object

Solution Approach 1:

The encryption gateway employs parameter changes by using modern encryption algorithms with optimized key sizes and modes of operation that minimize expansion. The gateway configures encryption parameters such as block size, initialization vectors, and key lengths to achieve security requirements while controlling the increase in data volume, ensuring compatibility with the database's logical structure.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS8135948B2Method and system for transparently encrypting sensitive information
Publication Date: 2012.03.13 IMPERVA INC
  • US8135948B2 patent drawing
  • US8135948B2 patent drawing
  • US8135948B2 patent drawing

AI summary

A method for transparently encrypting sensitive information, comprising detecting at least one literal in a database command that includes sensitive information. The literal is extracted from the database command. The literal is encrypted thereby forming an encrypted string. The literal is replaced by the encrypted string in the database command.