WO2008037605A1 - Encrypting and decrypting database records - Google Patents
Encrypting and decrypting database records Download PDFInfo
- Publication number
- WO2008037605A1 WO2008037605A1 PCT/EP2007/059711 EP2007059711W WO2008037605A1 WO 2008037605 A1 WO2008037605 A1 WO 2008037605A1 EP 2007059711 W EP2007059711 W EP 2007059711W WO 2008037605 A1 WO2008037605 A1 WO 2008037605A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- encryption
- record
- field
- encryption key
- key
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6227—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
Definitions
- the present invention relates to a method, system, and article of manufacture for encrypting and decrypting database records.
- Businesses often maintain highly sensitive and confidential information on their business operations and customers in a database management system. Providing security for database information is a primary concern of information technology managers. In fact, government regulations require that certain sensitive data, such as credit card numbers, social security numbers, etc., be secured to protect from identity theft. Companies have lost substantial business and credibility as a result of data theft.
- Encryption metadata is provided for a database file having fields, wherein the encryption metadata indicates at least one encryption key for the file.
- a request is received to perform a read or write operation with respect to a record including the fields for the database file.
- a determination is made from the encryption metadata of the at least one encryption key for the database file. The determined encryption key is used to encrypt or decrypt for the read or write operation with respect to at least one of the fields in the database file.
- Figure 1 illustrates an embodiment of a computing environment
- Figure 2 illustrates an embodiment of a format of encryption metadata
- Figure 3 illustrates an embodiment of a format of field encryption information for field level encryption
- Figure 4 illustrates an embodiment of a format of record encryption information for record level encryption
- Figure 5 illustrates an embodiment of a format of an encrypted record having record level encryption
- Figure 6 illustrates an embodiment of a format of an encrypted record having field level encryption
- Figure 7 illustrates an embodiment of a format of an entry in the key store for an encryption key
- Figure 8 illustrates an embodiment of operations to provide an encryption management user interface to a user
- Figures 9a and 9b illustrate an embodiment of operations to perform encryption in response to a write request for a record
- Figures 10a and 10b illustrate an embodiment of operations to perform encryption in response to a read request for a record
- Figure 11 illustrates a computer architecture in which embodiments of the present invention may be implemented.
- Figure 1 illustrates a computing environment in which embodiments may be implemented.
- One or more database clients 2 may execute database applications that submit read/write requests to a database server 4, including a database engine 6, with respect to records stored in tables 8 in a storage 10 managed by the database engine 6.
- the tables 8 are defined to include one or more database fields or columns and have a plurality of records, where each record includes a unique identifier and provides values for the fields (i.e., columns) defined for the table 8.
- the database engine 6 submits read/write requests to an encryption manager 12 to handle encryption/decryption with respect to the database records subject to the request.
- the encryption manager 12 includes an encryption engine 14 to perform encryption related operations, an encryption metadata repository 16 including encryption information for one or more database tables 8, a key store 18 storing indexable encryption keys, indexed according a key identifier, and an encryption manager user interface 20 to enable a user to define encryption techniques for the tables 8 by adding, deleting or modifying encryption information in the encryption metadata repository 16.
- the encryption manager 12 further includes and maintains a master key 22 created when the encryption manager 12 was installed for use with the database server 4.
- the master key 22 is used to encrypt certain components, such as the metadata repository 16 and/or key store 18, and may be used in encryption and decryption operations.
- the use of the master key 22 for general operations ensures that if someone copies the metadata repository 16 and/or key store 18, then they cannot access that information without the master key 22.
- the use of the master key 22 for encryption and decryption provides further randomization to these processes.
- the database clients 2 and database server 4 may be implemented on different computer systems and communicate over a network (e.g., Local Area Network (LAN), Storage Area Network (SAN), Wide Area Network (WAN), peer-to-peer network, wireless network, etc.), direct connection (serial, parallel, etc), bus interface (e.g., a Peripheral Component Interconnect (PCI) bus or serial interface) or be implemented on a same computer system, within the same or different runtime environments and communicate using internal system processes.
- the database applications 2 and database server 4 may communicate using database client-server architectures known in the art.
- the encryption manager 12 is maintained in a separate device/system from the database server 4, and may communicate with the database server 4 over a network, bus interface or direction connection.
- the encryption manager 12 may be implemented in code executed by a processor and/or implemented in a hardware device.
- the encryption manager 12 may comprise program components executing in the same computer system in which the database server 4 executes and communicate with the database server 4 using system calls.
- the encryption manager 12 may communication with the storage 10 over a network, bus interface or direct connection.
- some or all of the encryption manager 12 may be implemented at the file system level of the operating system of the database server 4 or a server managing the storage 10 (not shown), such as in the kernel operating space.
- the encryption manager 12 components may be implemented in hardware, software or a combination thereof.
- the key store 18 may be maintained in a separate device from the encryption manager 12 or maintained within the encryption manager 12 (as shown in Figure 1).
- the database clients 2 may execute database applications including database access commands written in a database language, such as the Structured Query Language (SQL), and include database client code to communicate with the database server 4.
- SQL Structured Query Language
- the database client 2 and server 4 code may be implemented using database systems known in the art.
- the storage 10 may comprise storage devices known in the art, such as interconnected hard disk drives (e.g., configured as a DASD, RAID, JBOD, virtualized devices, etc.), magnetic tape, electronic memory, flash memory, optical disk, etc.
- the encryption manager 12 provides a layer of encryption/decryption processing between the database server 4 and the storage 10 to handle encryption services in a transparent manner with respect to the database server 4 and database applications 2.
- Figure 2 illustrates an embodiment of a format of encryption metadata 50 maintained in the encryption metadata repository 12 for a table 8 managed by the database engine 6, where a separate instance of the encryption metadata 50 may be maintained in the metadata repository 12 for each table for which encryption/decryption is provided.
- the encryption metadata 50 indicates the database file 52, e.g., table 8, to which the encryption metadata applies; an encryption level flag 54 indicating whether encryption is performed at the record level for all fields in the record or at a field level, where encryption is performed on a field- by-field basis; and field encryption information 56 providing the specific encryption information for the record as a whole or fields in the record.
- Figure 3 illustrates an embodiment of the field encryption information 60 for each field in the record subject to encryption when encryption is performed at the field level.
- the field encryption information 60 includes a field identifier 62 of the field in the database table for which encryption is provided; an encryption key identifier (ID) 64 of an encryption key used to encrypt/decrypt with respect to the field, where the key ID may be used to access the encryption key from the key store 18; an encryption algorithm 66 to use for encryption (such that different fields may be encrypted using different available encryption algorithms known in the art); and a decryption disabled flag 68 indicating whether the field is not to be decrypted when returning the record in response to a read request.
- Figure 4 illustrates an embodiment of the field encryption information 80 when encryption is performed at the record level.
- the field encryption information 80 includes an encryption key identifier (ID) 82 of an encryption key used to encrypt/decrypt with respect to all fields in the record; and an encryption algorithm 84 to use for encrypting the fields in the record.
- ID
- Figure 5 illustrates an embodiment of the format of an encrypted record 90 encrypted at the record level and stored in the table 8 in the storage 10, including a record identifier 92 providing a unique identifier (ID) of the record in the database table 8; a seed value 94 providing a pseudo-random value provided as input along with the encryption key to the encryption engine 14 to use to encrypt the record; and the encrypted fields 96 of the record encrypted by the encryption engine 14 using the seed value 94 and the encryption key indicated in the key ID 82 ( Figure 4).
- the seed value may comprise a seed generated by a seed generation process.
- the seed value may be generated from a system clock or counter value that is incremented each time encryption is to be performed or may be generated using other suitable pseudo-random generation techniques known in the art to provide a random element to the encryption engine 14 to randomize the encrypted data.
- Figure 6 illustrates an embodiment of the format of an encrypted record 100 encrypted at the field level and stored in the table 8 in the storage 10, including a record identifier 100 providing unique ID of the record in the database table 8; a seed value 104 providing a pseudo-random value provided to the encryption engine 14 to use to encrypt one or more fields in the record; encrypted fields 108a....108n; for each encrypted field a signature 106a...106n generated from the corresponding encrypted field 108a...108n; and the unencrypted fields 110 for which encryption is not provided.
- the generated signature may be unique for the field and generated using signature or digest generation techniques known in the art, such as the digest algorithm SHAl .
- the generated signature may be generated using the master key 22 to further protect the signature.
- the seed value 104 and signature values 106a...106n are stored with the record in the table 8 in the storage 10.
- the seed values 94, 104 and/or signatures 106a...106n may be stored separately from the records in the tables 8.
- Figure 7 illustrates an embodiment of a key entry 110 included in the key store 18 for each created encryption key, including a key identifier (ID) 112 or index providing an identifier used to access the key that may be included in fields 64 and 82 ( Figures 3 and 4) of the field encryption information 60 and 80; the actual encryption key 114; a password 116 that must be presented by the user before the encryption key 114 may be used; and authorized users
- the stored password 116 may comprise a hash value formed using the password 116, the key ID 112, and the master key 22.
- the encryption management user interface 20 provides commands for a command line interface and/or a graphical user interface (GUI) enabling a user to create, modify and delete encryption metadata 50 for a table 8 in the encryption metadata repository 16 and create, modify or edit encryption keys in the key store 18.
- GUI graphical user interface
- a master key 22 is generated when installing the encryption manager 12 for use with a database engine and the associated tables 8, i.e., during product installation of the encryption manager 12. This master key 22 may be used to encrypt the key store 18 and the encryption metadata repository 16, so that only the user presenting the master key 22 may access and modify the key store 18 and encryption metadata repository 16 in order to prevent unauthorized access.
- users indicated as authorized users 118 may access the encryption key using the encryption key ID 64, 82 ( Figures 3 and 4) from the key store 18 to use for encryption/decryption operations.
- Both the key store 18 and the metadata repository 16 may further be encrypted with a unique system identifier (ID) of the system including the database server 4 or the encryption manager 12 to prevent the unauthorized copying of the key store 18 and metadata repository 16 into another system.
- ID unique system identifier
- Figure 8 illustrates an embodiment of operations performed by the encryption management user interface 20 to enable the user to create, modify and delete encryption metadata 50 in the encryption metadata repository 16.
- Control begins at block 200 in response to a user initiating an operation to manage encryption metadata 50 and the key store 18 in the metadata repository 16, where the user must present the master key 22 to decrypt the encryption metadata repository 16 and key store 18.
- the encryption management user interface 20 may provide command line commands and/or a GUI to enable the user to manage encryption metadata 50.
- the encryption management user interface 20 enables (at block 202) the user to create, delete and modify encryption key entries 110 ( Figure 7) for encryption keys in the key store 18.
- the user may enter or modify a password 116, along with information for the other fields, such as the encryption key 114 and authorized users 118 for the encryption key. If the user does not provide a password, then a system password or no password may be used.
- the encryption engine 14 may hash or encrypt the password 116.
- the encryption management user interface 20 enables (at block 204) the user to create, delete and modify encryption metadata 50 for a table 8.
- the encryption management user interface 20 enables (at block 206) the user to specify an encryption key 82 ( Figure 4) for a database file (record level) or separate encryption key 64 ( Figure 3) for one or more fields defined for a table 8 (field level), and specify encryption algorithm(s) 64, 84 to use for all the fields in the table 8 (record level) or each field (field level).
- the encryption management user interface 20 further enables the user to modify other information in the encryption metadata 50 in the encryption metadata repository 16, such as setting the decryption disabled flag 68 for each field, etc.
- the encryption manager 12 Before performing encryption or decryption, the encryption manager 12 must activate the encryption keys in the key store 18 for the user requesting the access to the table 8.
- the database engine 6 may initiate the request in response to a request from a database client 2 executing an SQL command to write to one or more fields of a record for the table 8.
- the encryption manager 12 must authenticate whether the user of the database client 2 initiating the request is authorized to access the encryption keys.
- the encryption manager 12 determines the identifiers of all encryption keys 64, 82 needed to access the fields or records in a table 8 and then verifies whether the user initiating the request presents the correct passwords 116 for the determined encryption keys, i.e., the hash of the presented password matches the hashed password 116 stored with the encryption key 114, and that the requesting user is indicated as an authorized user 118 for the requested encryption keys. If the user is authorized, i.e., presents the correct password 16and is indicated as an authorized user 118, then the encryption key that the user is authorized to access is stored in the local memory for the encryption engine 14, along with the Key ID 64, 82 and any seed value used with the encryption key for access by the encryption engine 14.
- any encryption/decryption operations requested for such user will fail and only encrypted data will be returned.
- only those fields for which the user has authorized keys are decrypted and fields for which the user does not have authorized keys remain encrypted. The decrypted fields and encrypted fields are returned.
- Figures 9a and 9b illustrate an embodiment of operations performed by the encryption engine 14 to perform encryption with respect to a request from the database engine 6 to write to one or more fields in a record for one table 8, i.e., database file.
- Operations are initiated when the encryption engine 14 receives (at block 300) from the database engine 6 a request to write to one or more fields of one record of a table 8 (database file) for which encryption metadata 50 ( Figure 2) is provided in the metadata repository 16. If (at block 302) the encryption level flag 54 of the encryption metadata 50 for the table 8 to modify indicates record level encryption, then the encryption engine 14 determines (at block 304) from the record level field encryption information 80 ( Figure 4) of the encryption metadata 50 for the table 8 the record level encryption key 82.
- the encryption engine 14 then generates (at block 306) a seed value 94 ( Figure 5).
- the encryption engine 14 uses (at block 308) the seed value 94, the encryption key, and the master key 22 to encrypt all the fields in the record to write using the identified encryption algorithm 84 or a default algorithm.
- the encryption engine 14 then generates (at block 310) the encryption record 90 ( Figure 5) to write to the table 8 (database file) in the storage 10 including the seed value 94 used to encrypt the fields
- encryption level flag 54 indicates field level encryption
- control proceeds to block 318 in Figure 9b.
- a seed value is generated to use to encrypt each field for which encryption is to be provided.
- the seed value may be generated as discussed above.
- one seed value may be used to encrypt all the fields subject to encryption.
- a separate seed value may be generated for each field to be encrypted, where the different seed values generated for different encryption fields would be stored with the encrypted record.
- the encryption engine 14 performs a loop of operations at blocks 320 through 338 for each field indicated to be encrypted in the encryption metadata 50 for the record to write. If (at block 322) the fields are being written to a new record to add to the table 8, then the encryption engine 14 determines (at block 324) from the field encryption information 60 ( Figure 3) the encryption key ID 64 for the field. The determined encryption key may be accessed from the encryption engine 14 local memory using the determined encryption key ID 64.
- the encryption engine 14 uses (at block 330) the encryption key, seed value 104, and master key 22 to encrypt the field using the algorithm 66.
- the encryption engine 14 may use additional or different information to perform the encryption, such as a system ID.
- the encryption engine 14 generates (at block 332) a signature 106a...106n for the field.
- the encryption engine 14 If (at block 322) the record being written is not new, i.e., already exists in the table 8, then the encryption engine 14 generates (at block 334) a current signature for the field subject to encryption using the signature generation technique used at block 332. If (at block 336) the current signature matches the stored signature 106a...106n for the field, then the field in the record to write is still encrypted and is not changed by the write request. For instance, if the user that is performing the write was not authorized to decrypt the field or the decryption disabled flag 68 was set for the field, then the user would have received the encrypted field and the write request would not access and change the encrypted field.
- this unchanged encrypted field does not need to be encrypted again and control proceeds to block 338 to consider the next field that is to be encrypted. If the signatures do not match (at block 336), then the field was unencrypted when presented to the application performing the write. In such case, control proceeds to block 324 to encrypt this field, which contains unencrypted data.
- the encryption engine 14 After performing encryption to the fields of the record subject to the write request, the encryption engine 14 generates (at block 342) the record 100 ( Figure 6) to write to the table 8 (database file) including the seed value 104, each unencrypted field 110 and for each encrypted field 108a...108n the signature 106a...106n for the encrypted field 108a...108n generated for the write request or generated for a previous write request if the encrypted field was provided to the user that initiated the write request.
- encryption may be performed with respect to all the fields in a record to be written to a table 8 or certain specified fields of the record, which different fields may be encrypted with the same or different encryption keys as specified in the encryption metadata 50 for the record.
- signatures may be used to avoid performing encryption with respect to fields in the record to write that have unchanged encrypted data to improve performance by avoiding unnecessary encryption operations.
- Figures 10a and 10b illustrate an embodiment of operations performed by the encryption engine 14 to decrypt a requested record in response to a request from the database engine 6 for a record requested by the database client 2 executing a database (e.g., SQL) application.
- a database e.g., SQL
- a determination is made (at block 402) as to whether the encryption level flag 54 indicates record or field level encryption. If record level encryption is indicated, then a determination is made (at block 404) as to whether the encryption key available to use for decryption for the user.
- all required keys are provided to the encryption engine 14 to use if the user initiating the request presents the correct password 116 and is indicated as authorized 118. If the record level encryption key 82 is not available, then the encryption engine 14 returns (at block 406) the encrypted record 90 to return. Alternatively, if the user is not authorized, then the read request may fail.
- the encryption engine 14 determines (at block 408) the encryption key from the encryption information 80 for the encryption key, which may be accessed from a local buffer for the encryption engine 14 using the encryption key ID 82.
- the encryption engine 14 reads (at block 410) the seed value 94 from the requested encrypted record 90 ( Figure 5).
- the encryption engine 14 uses (at block 412) the seed value 94, the determined encryption key, and other information, such as the master key 22 to decrypt every field in the record using the indicated encryption algorithm 84 ( Figure 4).
- the encryption engine 14 may use the seed value 94 and the determined encryption key to decrypt the fields.
- the encryption engine may use the master key 22 or other information to decrypt the data, such as a system identifier.
- the decrypted record is returned (at block 416) to the database engine 6.
- the method to decrypt the record must correspond to that used when encryption is performed.
- the encryption level flag 54 indicates field level encryption for the requested record
- control proceeds to block 420 in Figure 10b where the encryption engine 14 performs a loop of operations at blocks 420 through 438 to attempt decryption with respect to encrypted fields 108a...108n in the encrypted record 100 ( Figure 6), encrypted at the field level.
- the encryption engine 14 accesses (at block 422) the field encryption information 60 ( Figure 3) for the field and determines (at block 424) whether the encryption key identified for the field is available, i.e., whether the key was activated.
- the encryption engine 14 returns (at block 426) the encrypted field to include in the record (or fields) to return to the read request and proceeds to block 438 to consider a next encrypted field. If (at block 424) the required encryption key is available, but decryption is disabled for the field (at block 428), as indicated in the decryption disabled flag 68 for the field being considered, then control proceeds to block 438 to consider the next encrypted field 108b...108n to return to the request.
- the encryption engine 14 determines (at block 430) from the field encryption information 60 the encryption key ID 64 for the field.
- the encryption engine 14 reads (at block 432) the seed value 104 for the encryption record 100 ( Figure 6) and uses (at block 434) the seed value 104, encryption key, and optionally the master key 22 and/or other information to decrypt the field using the algorithm 66 identified for the field.
- the encryption engine 14 After processing all fields, which may involve decrypting any number of the encrypted fields 108a...108n, the encryption engine 14 generates (at block 440) the record to return to the read request including encrypted fields not decrypted due to decryption disabled 68 ( Figure 3) or lack of user authorization/password and decrypted fields, including those decrypted with the field encryption keys and those stored decrypted 110.
- the encryption engine 14 attempted encryption and decryption with respect to all fields in the record.
- the database engine 6 submits a write or read request with respect to less than all the fields in an encrypted record having field level encryption
- the encryption engine 14 may perform the read, write, and encryption/decryption with respect to only the requested fields and return or write to only the requested fields instead of returning or writing to all fields.
- encryption and decryption was performed with respect to read and write requests to a database file for which encryption metadata is provided.
- the encryption engine 14 may then process the records of the table 8 and encrypt the records already in the table 8 using the record or field level encryption operations described with respect to Figures 9a and 9b.
- a user may specify encryption at a record or field level to apply to the records of a table.
- An encryption layer between the database engine and storage may then intercept database engine requests to the table and handle encryption and decryption for write and read requests in a manner that is transparent to the database engine 14 and database client 2.
- encryption may be deployed in a database environment without requiring modification of database applications or the database engine.
- the described operations may be implemented as a method, apparatus or article of manufacture using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof.
- the described operations may be implemented as code maintained in a "computer readable medium", where a processor may read and execute the code from the computer readable medium.
- a computer readable medium may comprise media such as magnetic storage medium (e.g., hard disk drives, floppy disks, tape, etc.), optical storage (CD-ROMs, DVDs, optical disks, etc.), volatile and non-volatile memory devices (e.g., EEPROMs, ROMs, PROMs, RAMs, DRAMs, SRAMs, Flash Memory, firmware, programmable logic, etc.), etc.
- the code implementing the described operations may further be implemented in hardware logic (e.g., an integrated circuit chip, Programmable Gate Array (PGA), Application Specific Integrated Circuit (ASIC), etc.). Still further, the code implementing the described operations may be implemented in "transmission signals", where transmission signals may propagate through space or through a transmission media, such as an optical fiber, copper wire, etc.
- the transmission signals in which the code or logic is encoded may further comprise a wireless signal, satellite transmission, radio waves, infrared signals, Bluetooth, etc.
- the transmission signals in which the code or logic is encoded is capable of being transmitted by a transmitting station and received by a receiving station, where the code or logic encoded in the transmission signal may be decoded and stored in hardware or a computer readable medium at the receiving and transmitting stations or devices.
- An "article of manufacture” comprises computer readable medium, hardware logic, and/or transmission signals in which code may be implemented.
- a device in which the code implementing the described embodiments of operations is encoded may comprise a computer readable medium or hardware logic.
- the encryption manager performed encryption with respect to records in a database file.
- the encryption manager may perform encryption related operations of data in different data structures, such as to files in a file system, fields in a structured document, such as an Extensible Markup Language (XML) document, etc.
- XML Extensible Markup Language
- an embodiment means “one or more (but not all) embodiments of the present invention(s)" unless expressly specified otherwise.
- Devices that are in communication with each other need not be in continuous communication with each other, unless expressly specified otherwise.
- devices that are in communication with each other may communicate directly or indirectly through one or more intermediaries.
- FIG 11 illustrates an embodiment of a computer architecture 530 that may be implemented by the database clients 2, database server 4, and encryption manager 12.
- the architecture 500 may include a processor 502 (e.g., a microprocessor), a memory 504 (e.g., a volatile memory device), and storage 506 (e.g., a non-volatile storage, such as magnetic disk drives, electronic memory devices, e.g., Flash Memory, optical disk drives, a tape drive, etc.).
- the storage 506 may comprise an internal storage device or an attached or network accessible storage. Programs, including an operating system 508 and application programs, in the storage 506 are loaded into the memory 504 and executed by the processor 502 in a manner known in the art.
- the architecture further includes a network card 510 to enable communication with a network.
- An input device 512 is used to provide user input to the processor 502, and may include a keyboard, mouse, pen-stylus, microphone, touch sensitive display screen, or any other activation or input mechanism known in the art.
- An output device 514 is capable of rendering information transmitted from the processor 502, or other component, such as a display monitor, printer, storage, etc.
- Figures 2, 3, 4, 5, 6, and 7 show information maintained in a certain format.
- the information shown in these figures may be maintained in alternative data structures and formats, and in different combinations.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Storage Device Security (AREA)
Abstract
Provided are a method, system, and article of manufacture for encrypting and decrypting database records. Encryption metadata is provided for a database file having fields, wherein the encryption metadata indicates at least one encryption key for the file. A request is received to perform a read or write operation with respect to a record including the fields for the database file. A determination is made from the encryption metadata of the at least one encryption key for the database file. The determined encryption key is used to encrypt or decrypt for the read or write operation with respect to at least one of the fields in the database file.
Description
ENCRYPTING AND DECRYPTING DATABASE RECORDS
Field
The present invention relates to a method, system, and article of manufacture for encrypting and decrypting database records.
Background of the Invention
Businesses often maintain highly sensitive and confidential information on their business operations and customers in a database management system. Providing security for database information is a primary concern of information technology managers. In fact, government regulations require that certain sensitive data, such as credit card numbers, social security numbers, etc., be secured to protect from identity theft. Companies have lost substantial business and credibility as a result of data theft.
One security solution to these problems is to provide a hardware or software encryption solution. Such current encryption solutions require the installation of an add-on program or hardware device and the modification of the database applications to incorporate commands and interfaces to invoke the encryption and decryption services. This can be burdensome by requiring that database users both learn to use the commands and interfaces of the encryption services and then modify currently used database applications to include calls to the encryption services.
For these reasons, there is a need in the art for improved techniques to provide encryption services for database management systems.
Summary of the Invention
Provided are a method, system, and article of manufacture for encrypting and decrypting database records. Encryption metadata is provided for a database file having fields, wherein the encryption metadata indicates at least one encryption key for the file. A request is
received to perform a read or write operation with respect to a record including the fields for the database file. A determination is made from the encryption metadata of the at least one encryption key for the database file. The determined encryption key is used to encrypt or decrypt for the read or write operation with respect to at least one of the fields in the database file.
BRIEF DESCRIPTION OF THE DRAWINGS
Preferred embodiments of the present invention will now be described, by way of example only, with reference to the following drawings in which:
Figure 1 illustrates an embodiment of a computing environment;
Figure 2 illustrates an embodiment of a format of encryption metadata;
Figure 3 illustrates an embodiment of a format of field encryption information for field level encryption;
Figure 4 illustrates an embodiment of a format of record encryption information for record level encryption;
Figure 5 illustrates an embodiment of a format of an encrypted record having record level encryption;
Figure 6 illustrates an embodiment of a format of an encrypted record having field level encryption;
Figure 7 illustrates an embodiment of a format of an entry in the key store for an encryption key;
Figure 8 illustrates an embodiment of operations to provide an encryption management user interface to a user;
Figures 9a and 9b illustrate an embodiment of operations to perform encryption in response to a write request for a record;
Figures 10a and 10b illustrate an embodiment of operations to perform encryption in response to a read request for a record; and
Figure 11 illustrates a computer architecture in which embodiments of the present invention may be implemented.
Detailed Description of the Preferred Embodiments
Figure 1 illustrates a computing environment in which embodiments may be implemented. One or more database clients 2 may execute database applications that submit read/write requests to a database server 4, including a database engine 6, with respect to records stored in tables 8 in a storage 10 managed by the database engine 6. The tables 8 are defined to include one or more database fields or columns and have a plurality of records, where each record includes a unique identifier and provides values for the fields (i.e., columns) defined for the table 8. The database engine 6 submits read/write requests to an encryption manager 12 to handle encryption/decryption with respect to the database records subject to the request.
The encryption manager 12 includes an encryption engine 14 to perform encryption related operations, an encryption metadata repository 16 including encryption information for one or more database tables 8, a key store 18 storing indexable encryption keys, indexed according a key identifier, and an encryption manager user interface 20 to enable a user to define encryption techniques for the tables 8 by adding, deleting or modifying encryption information in the encryption metadata repository 16.
The encryption manager 12 further includes and maintains a master key 22 created when the encryption manager 12 was installed for use with the database server 4. The master key 22 is used to encrypt certain components, such as the metadata repository 16 and/or key store 18, and may be used in encryption and decryption operations. The use of the master key 22
for general operations ensures that if someone copies the metadata repository 16 and/or key store 18, then they cannot access that information without the master key 22. The use of the master key 22 for encryption and decryption provides further randomization to these processes.
The database clients 2 and database server 4 may be implemented on different computer systems and communicate over a network (e.g., Local Area Network (LAN), Storage Area Network (SAN), Wide Area Network (WAN), peer-to-peer network, wireless network, etc.), direct connection (serial, parallel, etc), bus interface (e.g., a Peripheral Component Interconnect (PCI) bus or serial interface) or be implemented on a same computer system, within the same or different runtime environments and communicate using internal system processes. The database applications 2 and database server 4 may communicate using database client-server architectures known in the art.
In one embodiment, the encryption manager 12 is maintained in a separate device/system from the database server 4, and may communicate with the database server 4 over a network, bus interface or direction connection. The encryption manager 12 may be implemented in code executed by a processor and/or implemented in a hardware device. In an alternative embodiment, the encryption manager 12 may comprise program components executing in the same computer system in which the database server 4 executes and communicate with the database server 4 using system calls. The encryption manager 12 may communication with the storage 10 over a network, bus interface or direct connection. Yet further, some or all of the encryption manager 12 may be implemented at the file system level of the operating system of the database server 4 or a server managing the storage 10 (not shown), such as in the kernel operating space.
The encryption manager 12 components may be implemented in hardware, software or a combination thereof. In one embodiment the key store 18 may be maintained in a separate device from the encryption manager 12 or maintained within the encryption manager 12 (as shown in Figure 1).
The database clients 2 may execute database applications including database access commands written in a database language, such as the Structured Query Language (SQL), and include database client code to communicate with the database server 4. The database client 2 and server 4 code may be implemented using database systems known in the art. The storage 10 may comprise storage devices known in the art, such as interconnected hard disk drives (e.g., configured as a DASD, RAID, JBOD, virtualized devices, etc.), magnetic tape, electronic memory, flash memory, optical disk, etc.
In the described embodiments, the encryption manager 12 provides a layer of encryption/decryption processing between the database server 4 and the storage 10 to handle encryption services in a transparent manner with respect to the database server 4 and database applications 2.
Figure 2 illustrates an embodiment of a format of encryption metadata 50 maintained in the encryption metadata repository 12 for a table 8 managed by the database engine 6, where a separate instance of the encryption metadata 50 may be maintained in the metadata repository 12 for each table for which encryption/decryption is provided. The encryption metadata 50 indicates the database file 52, e.g., table 8, to which the encryption metadata applies; an encryption level flag 54 indicating whether encryption is performed at the record level for all fields in the record or at a field level, where encryption is performed on a field- by-field basis; and field encryption information 56 providing the specific encryption information for the record as a whole or fields in the record.
Figure 3 illustrates an embodiment of the field encryption information 60 for each field in the record subject to encryption when encryption is performed at the field level. The field encryption information 60 includes a field identifier 62 of the field in the database table for which encryption is provided; an encryption key identifier (ID) 64 of an encryption key used to encrypt/decrypt with respect to the field, where the key ID may be used to access the encryption key from the key store 18; an encryption algorithm 66 to use for encryption (such that different fields may be encrypted using different available encryption algorithms known in the art); and a decryption disabled flag 68 indicating whether the field is not to be decrypted when returning the record in response to a read request.
Figure 4 illustrates an embodiment of the field encryption information 80 when encryption is performed at the record level. The field encryption information 80 includes an encryption key identifier (ID) 82 of an encryption key used to encrypt/decrypt with respect to all fields in the record; and an encryption algorithm 84 to use for encrypting the fields in the record.
Figure 5 illustrates an embodiment of the format of an encrypted record 90 encrypted at the record level and stored in the table 8 in the storage 10, including a record identifier 92 providing a unique identifier (ID) of the record in the database table 8; a seed value 94 providing a pseudo-random value provided as input along with the encryption key to the encryption engine 14 to use to encrypt the record; and the encrypted fields 96 of the record encrypted by the encryption engine 14 using the seed value 94 and the encryption key indicated in the key ID 82 (Figure 4). In one embodiment, the seed value may comprise a seed generated by a seed generation process. Alternatively, the seed value may be generated from a system clock or counter value that is incremented each time encryption is to be performed or may be generated using other suitable pseudo-random generation techniques known in the art to provide a random element to the encryption engine 14 to randomize the encrypted data.
Figure 6 illustrates an embodiment of the format of an encrypted record 100 encrypted at the field level and stored in the table 8 in the storage 10, including a record identifier 100 providing unique ID of the record in the database table 8; a seed value 104 providing a pseudo-random value provided to the encryption engine 14 to use to encrypt one or more fields in the record; encrypted fields 108a....108n; for each encrypted field a signature 106a...106n generated from the corresponding encrypted field 108a...108n; and the unencrypted fields 110 for which encryption is not provided. The generated signature may be unique for the field and generated using signature or digest generation techniques known in the art, such as the digest algorithm SHAl . The generated signature may be generated using the master key 22 to further protect the signature.
In one embodiment, the seed value 104 and signature values 106a...106n are stored with the record in the table 8 in the storage 10. In an alternative embodiment, the seed values 94, 104 and/or signatures 106a...106n may be stored separately from the records in the tables 8.
Figure 7 illustrates an embodiment of a key entry 110 included in the key store 18 for each created encryption key, including a key identifier (ID) 112 or index providing an identifier used to access the key that may be included in fields 64 and 82 (Figures 3 and 4) of the field encryption information 60 and 80; the actual encryption key 114; a password 116 that must be presented by the user before the encryption key 114 may be used; and authorized users
118 identifying one or more users or groups of users authorized to access the encryption key to encrypt and/or decrypt with respect to the particular identified field. Users may be authorized at the operating system level or database management system level. The stored password 116 may comprise a hash value formed using the password 116, the key ID 112, and the master key 22.
The encryption management user interface 20 provides commands for a command line interface and/or a graphical user interface (GUI) enabling a user to create, modify and delete encryption metadata 50 for a table 8 in the encryption metadata repository 16 and create, modify or edit encryption keys in the key store 18. In one embodiment, a master key 22 is generated when installing the encryption manager 12 for use with a database engine and the associated tables 8, i.e., during product installation of the encryption manager 12. This master key 22 may be used to encrypt the key store 18 and the encryption metadata repository 16, so that only the user presenting the master key 22 may access and modify the key store 18 and encryption metadata repository 16 in order to prevent unauthorized access.
Although only the user presenting the master key 22 may modify encryption metadata 50, users indicated as authorized users 118 may access the encryption key using the encryption key ID 64, 82 (Figures 3 and 4) from the key store 18 to use for encryption/decryption operations.
Both the key store 18 and the metadata repository 16 may further be encrypted with a unique system identifier (ID) of the system including the database server 4 or the encryption manager 12 to prevent the unauthorized copying of the key store 18 and metadata repository 16 into another system.
Figure 8 illustrates an embodiment of operations performed by the encryption management user interface 20 to enable the user to create, modify and delete encryption metadata 50 in
the encryption metadata repository 16. Control begins at block 200 in response to a user initiating an operation to manage encryption metadata 50 and the key store 18 in the metadata repository 16, where the user must present the master key 22 to decrypt the encryption metadata repository 16 and key store 18. The encryption management user interface 20 may provide command line commands and/or a GUI to enable the user to manage encryption metadata 50. The encryption management user interface 20 enables (at block 202) the user to create, delete and modify encryption key entries 110 (Figure 7) for encryption keys in the key store 18. The user may enter or modify a password 116, along with information for the other fields, such as the encryption key 114 and authorized users 118 for the encryption key. If the user does not provide a password, then a system password or no password may be used. When creating the key, the encryption engine 14 may hash or encrypt the password 116.
The encryption management user interface 20 enables (at block 204) the user to create, delete and modify encryption metadata 50 for a table 8. The encryption management user interface 20 enables (at block 206) the user to specify an encryption key 82 (Figure 4) for a database file (record level) or separate encryption key 64 (Figure 3) for one or more fields defined for a table 8 (field level), and specify encryption algorithm(s) 64, 84 to use for all the fields in the table 8 (record level) or each field (field level). The encryption management user interface 20 further enables the user to modify other information in the encryption metadata 50 in the encryption metadata repository 16, such as setting the decryption disabled flag 68 for each field, etc.
Before performing encryption or decryption, the encryption manager 12 must activate the encryption keys in the key store 18 for the user requesting the access to the table 8. The database engine 6 may initiate the request in response to a request from a database client 2 executing an SQL command to write to one or more fields of a record for the table 8. The encryption manager 12 must authenticate whether the user of the database client 2 initiating the request is authorized to access the encryption keys.
To activate keys, the encryption manager 12 determines the identifiers of all encryption keys 64, 82 needed to access the fields or records in a table 8 and then verifies whether the user
initiating the request presents the correct passwords 116 for the determined encryption keys, i.e., the hash of the presented password matches the hashed password 116 stored with the encryption key 114, and that the requesting user is indicated as an authorized user 118 for the requested encryption keys. If the user is authorized, i.e., presents the correct password 16and is indicated as an authorized user 118, then the encryption key that the user is authorized to access is stored in the local memory for the encryption engine 14, along with the Key ID 64, 82 and any seed value used with the encryption key for access by the encryption engine 14. In one embodiment, if the user cannot be authenticated with respect to all keys needed to perform the encryption/decryption operations, i.e., by presenting the correct password 116 and being identified as an authorized user 118, then any encryption/decryption operations requested for such user will fail and only encrypted data will be returned. In an alternative embodiment, only those fields for which the user has authorized keys are decrypted and fields for which the user does not have authorized keys remain encrypted. The decrypted fields and encrypted fields are returned.
Figures 9a and 9b illustrate an embodiment of operations performed by the encryption engine 14 to perform encryption with respect to a request from the database engine 6 to write to one or more fields in a record for one table 8, i.e., database file. Operations are initiated when the encryption engine 14 receives (at block 300) from the database engine 6 a request to write to one or more fields of one record of a table 8 (database file) for which encryption metadata 50 (Figure 2) is provided in the metadata repository 16. If (at block 302) the encryption level flag 54 of the encryption metadata 50 for the table 8 to modify indicates record level encryption, then the encryption engine 14 determines (at block 304) from the record level field encryption information 80 (Figure 4) of the encryption metadata 50 for the table 8 the record level encryption key 82. The encryption engine 14 then generates (at block 306) a seed value 94 (Figure 5). The encryption engine 14 uses (at block 308) the seed value 94, the encryption key, and the master key 22 to encrypt all the fields in the record to write using the identified encryption algorithm 84 or a default algorithm. The encryption engine 14 then generates (at block 310) the encryption record 90 (Figure 5) to write to the table 8 (database file) in the storage 10 including the seed value 94 used to encrypt the fields
If (at block 302) encryption level flag 54 indicates field level encryption, then control proceeds to block 318 in Figure 9b. At block 318, a seed value is generated to use to encrypt each field for which encryption is to be provided. The seed value may be generated as discussed above. In one embodiment, one seed value may be used to encrypt all the fields subject to encryption. In an alternative embodiment, a separate seed value may be generated for each field to be encrypted, where the different seed values generated for different encryption fields would be stored with the encrypted record. For field level encryption, the encryption engine 14 performs a loop of operations at blocks 320 through 338 for each field indicated to be encrypted in the encryption metadata 50 for the record to write. If (at block 322) the fields are being written to a new record to add to the table 8, then the encryption engine 14 determines (at block 324) from the field encryption information 60 (Figure 3) the encryption key ID 64 for the field. The determined encryption key may be accessed from the encryption engine 14 local memory using the determined encryption key ID 64. The encryption engine 14 uses (at block 330) the encryption key, seed value 104, and master key 22 to encrypt the field using the algorithm 66. The encryption engine 14 may use additional or different information to perform the encryption, such as a system ID. The encryption engine 14 generates (at block 332) a signature 106a...106n for the field.
If (at block 322) the record being written is not new, i.e., already exists in the table 8, then the encryption engine 14 generates (at block 334) a current signature for the field subject to encryption using the signature generation technique used at block 332. If (at block 336) the current signature matches the stored signature 106a...106n for the field, then the field in the record to write is still encrypted and is not changed by the write request. For instance, if the user that is performing the write was not authorized to decrypt the field or the decryption disabled flag 68 was set for the field, then the user would have received the encrypted field and the write request would not access and change the encrypted field. In such case, this unchanged encrypted field does not need to be encrypted again and control proceeds to block 338 to consider the next field that is to be encrypted. If the signatures do not match (at block 336), then the field was unencrypted when presented to the application performing the write. In such case, control proceeds to block 324 to encrypt this field, which contains unencrypted data.
After performing encryption to the fields of the record subject to the write request, the encryption engine 14 generates (at block 342) the record 100 (Figure 6) to write to the table 8 (database file) including the seed value 104, each unencrypted field 110 and for each encrypted field 108a...108n the signature 106a...106n for the encrypted field 108a...108n generated for the write request or generated for a previous write request if the encrypted field was provided to the user that initiated the write request.
With the described operations of Figures 9a and 9b, encryption may be performed with respect to all the fields in a record to be written to a table 8 or certain specified fields of the record, which different fields may be encrypted with the same or different encryption keys as specified in the encryption metadata 50 for the record. Further, signatures may be used to avoid performing encryption with respect to fields in the record to write that have unchanged encrypted data to improve performance by avoiding unnecessary encryption operations.
Figures 10a and 10b illustrate an embodiment of operations performed by the encryption engine 14 to decrypt a requested record in response to a request from the database engine 6 for a record requested by the database client 2 executing a database (e.g., SQL) application. In response to receiving (at block 400) request to read a record from a table 8 (database file) for which encryption metadata 50 is provided in the metadata repository 16, initiated from a database application run by a user, a determination is made (at block 402) as to whether the encryption level flag 54 indicates record or field level encryption. If record level encryption is indicated, then a determination is made (at block 404) as to whether the encryption key available to use for decryption for the user. As discussed, all required keys are provided to the encryption engine 14 to use if the user initiating the request presents the correct password 116 and is indicated as authorized 118. If the record level encryption key 82 is not available, then the encryption engine 14 returns (at block 406) the encrypted record 90 to return. Alternatively, if the user is not authorized, then the read request may fail.
If (at block 404) the required encryption key is available, then the encryption engine 14 determines (at block 408) the encryption key from the encryption information 80 for the encryption key, which may be accessed from a local buffer for the encryption engine 14 using the encryption key ID 82. The encryption engine 14 reads (at block 410) the seed
value 94 from the requested encrypted record 90 (Figure 5). The encryption engine 14 uses (at block 412) the seed value 94, the determined encryption key, and other information, such as the master key 22 to decrypt every field in the record using the indicated encryption algorithm 84 (Figure 4). In one embodiment, the encryption engine 14 may use the seed value 94 and the determined encryption key to decrypt the fields. Alternatively, the encryption engine may use the master key 22 or other information to decrypt the data, such as a system identifier. The decrypted record is returned (at block 416) to the database engine 6. The method to decrypt the record must correspond to that used when encryption is performed.
If (at block 402) the encryption level flag 54 indicates field level encryption for the requested record, then control proceeds to block 420 in Figure 10b where the encryption engine 14 performs a loop of operations at blocks 420 through 438 to attempt decryption with respect to encrypted fields 108a...108n in the encrypted record 100 (Figure 6), encrypted at the field level. For fields subject to encryption, the encryption engine 14 accesses (at block 422) the field encryption information 60 (Figure 3) for the field and determines (at block 424) whether the encryption key identified for the field is available, i.e., whether the key was activated. If the key is not available or active, then the encryption engine 14 returns (at block 426) the encrypted field to include in the record (or fields) to return to the read request and proceeds to block 438 to consider a next encrypted field. If (at block 424) the required encryption key is available, but decryption is disabled for the field (at block 428), as indicated in the decryption disabled flag 68 for the field being considered, then control proceeds to block 438 to consider the next encrypted field 108b...108n to return to the request.
If (at block 426) decryption is not disabled for the encrypted field 108a...108n, then the encryption engine 14 determines (at block 430) from the field encryption information 60 the encryption key ID 64 for the field. The encryption engine 14 reads (at block 432) the seed value 104 for the encryption record 100 (Figure 6) and uses (at block 434) the seed value 104, encryption key, and optionally the master key 22 and/or other information to decrypt the field using the algorithm 66 identified for the field.
After processing all fields, which may involve decrypting any number of the encrypted fields 108a...108n, the encryption engine 14 generates (at block 440) the record to return to the read request including encrypted fields not decrypted due to decryption disabled 68 (Figure 3) or lack of user authorization/password and decrypted fields, including those decrypted with the field encryption keys and those stored decrypted 110.
In the described operations of Figures 10b and 10b, the encryption engine 14 attempted encryption and decryption with respect to all fields in the record. In embodiments where the database engine 6 submits a write or read request with respect to less than all the fields in an encrypted record having field level encryption, then the encryption engine 14 may perform the read, write, and encryption/decryption with respect to only the requested fields and return or write to only the requested fields instead of returning or writing to all fields.
In the described embodiments, encryption and decryption was performed with respect to read and write requests to a database file for which encryption metadata is provided. In an additional embodiment, after the user defines encryption metadata for an existing table having existing records, the encryption engine 14 may then process the records of the table 8 and encrypt the records already in the table 8 using the record or field level encryption operations described with respect to Figures 9a and 9b.
With the described embodiments, a user may specify encryption at a record or field level to apply to the records of a table. An encryption layer between the database engine and storage may then intercept database engine requests to the table and handle encryption and decryption for write and read requests in a manner that is transparent to the database engine 14 and database client 2. With the described embodiments, encryption may be deployed in a database environment without requiring modification of database applications or the database engine.
Additional Embodiment Details
The described operations may be implemented as a method, apparatus or article of manufacture using standard programming and/or engineering techniques to produce
software, firmware, hardware, or any combination thereof. The described operations may be implemented as code maintained in a "computer readable medium", where a processor may read and execute the code from the computer readable medium. A computer readable medium may comprise media such as magnetic storage medium (e.g., hard disk drives, floppy disks, tape, etc.), optical storage (CD-ROMs, DVDs, optical disks, etc.), volatile and non-volatile memory devices (e.g., EEPROMs, ROMs, PROMs, RAMs, DRAMs, SRAMs, Flash Memory, firmware, programmable logic, etc.), etc. The code implementing the described operations may further be implemented in hardware logic (e.g., an integrated circuit chip, Programmable Gate Array (PGA), Application Specific Integrated Circuit (ASIC), etc.). Still further, the code implementing the described operations may be implemented in "transmission signals", where transmission signals may propagate through space or through a transmission media, such as an optical fiber, copper wire, etc. The transmission signals in which the code or logic is encoded may further comprise a wireless signal, satellite transmission, radio waves, infrared signals, Bluetooth, etc. The transmission signals in which the code or logic is encoded is capable of being transmitted by a transmitting station and received by a receiving station, where the code or logic encoded in the transmission signal may be decoded and stored in hardware or a computer readable medium at the receiving and transmitting stations or devices. An "article of manufacture" comprises computer readable medium, hardware logic, and/or transmission signals in which code may be implemented. A device in which the code implementing the described embodiments of operations is encoded may comprise a computer readable medium or hardware logic.
In the described embodiments, the encryption manager performed encryption with respect to records in a database file. In an alternative embodiment, the encryption manager may perform encryption related operations of data in different data structures, such as to files in a file system, fields in a structured document, such as an Extensible Markup Language (XML) document, etc.
The terms "an embodiment", "embodiment", "embodiments", "the embodiment", "the embodiments", "one or more embodiments", "some embodiments", and "one embodiment"
mean "one or more (but not all) embodiments of the present invention(s)" unless expressly specified otherwise.
The terms "including", "comprising", "having" and variations thereof mean "including but not limited to", unless expressly specified otherwise.
The enumerated listing of items does not imply that any or all of the items are mutually exclusive, unless expressly specified otherwise.
The terms "a", "an" and "the" mean "one or more", unless expressly specified otherwise.
Devices that are in communication with each other need not be in continuous communication with each other, unless expressly specified otherwise. In addition, devices that are in communication with each other may communicate directly or indirectly through one or more intermediaries.
A description of an embodiment with several components in communication with each other does not imply that all such components are required. On the contrary a variety of optional components are described to illustrate the wide variety of possible embodiments of the present invention.
Further, although process steps, method steps, algorithms or the like may be described in a sequential order, such processes, methods and algorithms may be configured to work in alternate orders. In other words, any sequence or order of steps that may be described does not necessarily indicate a requirement that the steps be performed in that order. The steps of processes described herein may be performed in any order practical. Further, some steps may be performed simultaneously.
When a single device or article is described herein, it will be readily apparent that more than one device/article (whether or not they cooperate) may be used in place of a single device/article. Similarly, where more than one device or article is described herein (whether or not they cooperate), it will be readily apparent that a single device/article may be used in
place of the more than one device or article or a different number of devices/articles may be used instead of the shown number of devices or programs. The functionality and/or the features of a device may be alternatively embodied by one or more other devices which are not explicitly described as having such functionality/features. Thus, other embodiments of the present invention need not include the device itself.
Further, when a reference letter, such as "a", "b", or "n" is used to denote a certain number of items, the reference "a", "b" or "n" used with different elements may indicate the same or different number of such elements.
Figure 11 illustrates an embodiment of a computer architecture 530 that may be implemented by the database clients 2, database server 4, and encryption manager 12. The architecture 500 may include a processor 502 (e.g., a microprocessor), a memory 504 (e.g., a volatile memory device), and storage 506 (e.g., a non-volatile storage, such as magnetic disk drives, electronic memory devices, e.g., Flash Memory, optical disk drives, a tape drive, etc.). The storage 506 may comprise an internal storage device or an attached or network accessible storage. Programs, including an operating system 508 and application programs, in the storage 506 are loaded into the memory 504 and executed by the processor 502 in a manner known in the art. The architecture further includes a network card 510 to enable communication with a network. An input device 512 is used to provide user input to the processor 502, and may include a keyboard, mouse, pen-stylus, microphone, touch sensitive display screen, or any other activation or input mechanism known in the art. An output device 514 is capable of rendering information transmitted from the processor 502, or other component, such as a display monitor, printer, storage, etc.
Figures 2, 3, 4, 5, 6, and 7 show information maintained in a certain format. In alternative embodiments, the information shown in these figures may be maintained in alternative data structures and formats, and in different combinations.
The illustrated operations of Figures 8, 9a, 9b, 10a, and 10b show certain events occurring in a certain order. In alternative embodiments, certain operations may be performed in a different order, modified or removed. Moreover, steps may be added to the above described
logic and still conform to the described embodiments. Further, operations described herein may occur sequentially or certain operations may be processed in parallel. Yet further, operations may be performed by a single processing unit or by distributed processing units.
The foregoing description of various embodiments of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto. The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended.
Claims
1. A method, comprising: providing encryption metadata for a database file having fields, wherein the encryption metadata indicates at least one encryption key for the file; receiving a request to perform a read or write operation with respect to a record including the fields for the database file; determining from the encryption metadata the at least one encryption key for the database file; and using the determined encryption key to encrypt or decrypt for the read or write operation with respect to at least one of the fields in the database file.
2. The method of claim 1 , wherein the encryption metadata for the database file indicates record level or field level encryption, further comprising: determining whether the encryption metadata indicates the record level or the field level encryption, wherein using the determined at least one encryption key comprises using one encryption key to encrypt or decrypt with respect to all the fields in the record in response to determining that record level encryption is indicated, and wherein using the determined at least one encryption key comprises using the at least one encryption key to encrypt or decrypt with respect to each indicated field for which encryption is to be performed in response to determining the field level encryption is indicated.
3. The method of claim 1, wherein using the determined at least one encryption key to encrypt comprises: generating a seed value; and using the encryption key and the seed value to encrypt data in the record; and storing the encrypted record and the seed value used to encrypt the record, wherein the stored seed value and the encryption key are used to decrypt the encrypted data in the record.
4. The method of claim 3, wherein the encryption metadata indicates one encryption key for each of a plurality of fields in the record for which encryption is to be performed, wherein the encryption key and the seed value are used to perform encryption and decryption with respect to the field in the record.
5. The method of claim 1, wherein the encryption metadata indicates one encryption key for each of a plurality of fields in the record for which encryption is to be performed, wherein at least two of the fields have different encryption keys, and wherein the operation of using the determined encryption key is performed for each field for which one encryption key is provided using the encryption key provided for the field.
6. The method of claim 1, wherein the encryption metadata indicates one encryption key for each of a plurality of fields in the record for which encryption is to be performed, wherein the encryption metadata indicates decryption disabled for at least one field in the record for which encryption is indicated to be performed, wherein the determined encryption key is used to decrypt data for each field for which encryption disabled is not indicated, further comprising : returning to the request encrypted data for each field for which decryption disabled is indicated.
7. The method of claim 6, further comprising: generating a signature for each encrypted field to write to the database file; storing the signature for each encrypted field when storing the record including the encrypted field that is written to the database file; receiving a request to write a modified record to the database file; for each field in the modified record for which encryption is to be performed, further performing: generating a current signature for the field in the write request; writing the field to the record in the database file without encrypting the field in response to determining that the signature stored for the field matches the current signature; and encrypting the field in the modified record before writing the field to the record in the database file in response to determining that the signature stored for the field does not match the field in the modified record.
8. The method of claim 1, further comprising: generating a master key; and using the master key to generate the at least one encryption key for the data file.
9. The method of claim 8, further comprising: indicating at least one user authorized to use the encryption key, wherein the operations of using the determined encryption key is only performed in response to determining that the request originates from one user authorized to use the encryption key.
10. The method of claim 8, further comprising: providing one password for the at least one encryption key, wherein the operations of using the determined encryption key is only performed in response to receiving the password with the request; and storing a hash of the password with the encryption key, wherein the password is hashed using the master key.
11. The method of claim 8, wherein using the determined at least one encryption key to encrypt comprises: generating a seed value; encrypting data in the record using one of the encryption keys, the seed value, and the master key; and storing the encrypted record and the seed value used to encrypt the data, wherein the stored seed value, the encryption key, and master key are used to decrypt the encrypted data in the record.
12. The method of claim 1 , wherein the encryption metadata indicates one encryption key for each of a plurality of fields in the record for which encryption is to be performed and one of a plurality of available encryption algorithms, wherein the encryption metadata may indicate different encryption keys and/or encryption algorithms for different fields for which encryption is to be provided.
13. A system, comprising : an encryption metadata repository including encryption metadata for a database file having fields, wherein the encryption metadata indicates at least one encryption key for the file; and an encryption manager enabled to perform operations, the operations comprising: receiving a request to perform a read or write operation with respect to a record including the fields for the database file; determining from the encryption metadata the at least one encryption key for the database file; and using the determined encryption key to encrypt or decrypt for the read or write operation with respect to at least one of the fields in the database file.
14. The system of claim 13, wherein the encryption metadata for the database file indicates record level or field level encryption, wherein the encryption manager is further enabled to perform: determining whether the encryption metadata indicates the record level or the field level encryption, wherein using the determined at least one encryption key comprises using one encryption key to encrypt or decrypt with respect to all the fields in the record in response to determining that record level encryption is indicated, and wherein using the determined at least one encryption key comprises using the at least one encryption key to encrypt or decrypt with respect to each indicated field for which encryption is to be performed in response to determining the field level encryption is indicated.
15. The system of claim 13, wherein using the determined at least one encryption key to encrypt comprises: generating a seed value; and using the encryption key and the seed value to encrypt data in the record; and storing the encrypted record and the seed value used to encrypt the record, wherein the stored seed value and the encryption key are used to decrypt the encrypted data in the record.
16. The system of claim 15, wherein the encryption metadata indicates one encryption key for each of a plurality of fields in the record for which encryption is to be performed, wherein the encryption key and the seed value are used to perform encryption and decryption with respect to the field in the record.
17. The system of claim 13, wherein the encryption metadata indicates one encryption key for each of a plurality of fields in the record for which encryption is to be performed, wherein at least two of the fields have different encryption keys, and wherein the operation of using the determined encryption key is performed for each field for which one encryption key is provided using the encryption key provided for the field.
18. The system of claim 13, wherein the encryption metadata indicates one encryption key for each of a plurality of fields in the record for which encryption is to be performed, wherein the encryption metadata indicates decryption disabled for at least one field in the record for which encryption is indicated to be performed, wherein the determined encryption key is used to decrypt data for each field for which encryption disabled is not indicated, and wherein the encryption manager is further enabled to perform operations comprising: returning to the request encrypted data for each field for which decryption disabled is indicated.
19. The system of claim 18, wherein the encryption manager is further enabled to perform operations comprising: generating a signature for each encrypted field to write to the database file; storing the signature for each encrypted field when storing the record including the encrypted field that is written to the database file; receiving a request to write a modified record to the database file; for each field in the modified record for which encryption is to be performed, further performing: generating a current signature for the field in the write request; writing the field to the record in the database file without encrypting the field in response to determining that the signature stored for the field matches the current signature; and encrypting the field in the modified record before writing the field to the record in the database file in response to determining that the signature stored for the field does not match the field in the modified record.
20. The system of claim 13, wherein the encryption manager is further enabled to perform operations comprising: generating a master key; and using the master key to generate the at least one encryption key for the data file. 21.
21. The system of claim 20, further comprising: an user interface enabled to receive user input indicating at least one user authorized to use the encryption key, wherein the operations of using the determined encryption key are only performed in response to determining that the request originates from one user authorized to use the encryption key.
22. The system of claim 21, wherein the user interface is further enabled to perform: receiving user input of one password for the at least one encryption key, wherein the operations of using the determined encryption key is only performed in response to receiving the password with the request; and storing a hash of the password with the encryption key, wherein the password is hashed using the master key.
23. The system of claim 20, wherein using the determined at least one encryption key to encrypt comprises: generating a seed value; encrypting data in the record using one of the encryption keys, the seed value, and the master key; and storing the encrypted record and the seed value used to encrypt the data, wherein the stored seed value, the encryption key, and master key are used to decrypt the encrypted data in the record.
24. The system of claim 13, wherein the encryption metadata indicates one encryption key for each of a plurality of fields in the record for which encryption is to be performed and one of a plurality of available encryption algorithms, wherein the encryption metadata may indicate different encryption keys and/or encryption algorithms for different fields for which encryption is to be provided.
25. An article of manufacture providing an embodiment of code enabled to access a database file and cause operations to be performed, the operations comprising: providing encryption metadata for the database file having fields, wherein the encryption metadata indicates at least one encryption key for the file; receiving a request to perform a read or write operation with respect to a record including the fields for the database file; determining from the encryption metadata the at least one encryption key for the database file; and using the determined encryption key to encrypt or decrypt for the read or write operation with respect to at least one of the fields in the database file
26. The article of manufacture of claim 25, wherein the encryption metadata for the database file indicates record level or field level encryption, wherein the operations further comprise: determining whether the encryption metadata indicates the record level or the field level encryption, wherein using the determined at least one encryption key comprises using one encryption key to encrypt or decrypt with respect to all the fields in the record in response to determining that record level encryption is indicated, and wherein using the determined at least one encryption key comprises using the at least one encryption key to encrypt or decrypt with respect to each indicated field for which encryption is to be performed in response to determining the field level encryption is indicated.
27. The article of manufacture of claim 25, wherein using the determined at least one encryption key to encrypt comprises: generating a seed value; and using the encryption key and the seed value to encrypt data in the record; and storing the encrypted record and the seed value used to encrypt the record, wherein the stored seed value and the encryption key are used to decrypt the encrypted data in the record.
28. The article of manufacture of claim 27, wherein the encryption metadata indicates one encryption key for each of a plurality of fields in the record for which encryption is to be performed, wherein the encryption key and the seed value are used to perform encryption and decryption with respect to the field in the record.
29. The article of manufacture of claim 25, wherein the encryption metadata indicates one encryption key for each of a plurality of fields in the record for which encryption is to be performed, wherein at least two of the fields have different encryption keys, and wherein the operation of using the determined encryption key is performed for each field for which one encryption key is provided using the encryption key provided for the field.
30. The article of manufacture of claim 25, wherein the encryption metadata indicates one encryption key for each of a plurality of fields in the record for which encryption is to be performed, wherein the encryption metadata indicates decryption disabled for at least one field in the record for which encryption is indicated to be performed, wherein the determined encryption key is used to decrypt data for each field for which encryption disabled is not indicated, wherein the operations further comprise: returning to the request encrypted data for each field for which decryption disabled is indicated.
31. The article of manufacture of claim 30, wherein the operations further comprise: generating a signature for each encrypted field to write to the database file; storing the signature for each encrypted field when storing the record including the encrypted field that is written to the database file; receiving a request to write a modified record to the database file; and for each field in the modified record for which encryption is to be performed, further performing: generating a current signature for the field in the write request; writing the field to the record in the database file without encrypting the field in response to determining that the signature stored for the field matches the current signature; and encrypting the field in the modified record before writing the field to the record in the database file in response to determining that the signature stored for the field does not match the field in the modified record.
32. The article of manufacture of claim 25, wherein the operations further comprise: generating a master key; and using the master key to generate the at least one encryption key for the data file.
33. The article of manufacture of claim 32, wherein the operations further comprise: indicating at least one user authorized to use the encryption key, wherein the operations of using the determined encryption key is only performed in response to determining that the request originates from one user authorized to use the encryption key.
34. The article of manufacture of claim 32, wherein the operations further comprise: providing one password for the at least one encryption key, wherein the operations of using the determined encryption key is only performed in response to receiving the password with the request; and storing a hash of the password with the encryption key, wherein the password is hashed using the master key.
35. The article of manufacture of claim 32, wherein using the determined at least one encryption key to encrypt comprises: generating a seed value; encrypting data in the record using one of the encryption keys, the seed value, and the master key; and storing the encrypted record and the seed value used to encrypt the data, wherein the stored seed value, the encryption key, and master key are used to decrypt the encrypted data in the record.
36. The article of manufacture of claim 25, wherein the encryption metadata indicates one encryption key for each of a plurality of fields in the record for which encryption is to be performed and one of a plurality of available encryption algorithms, wherein the encryption metadata may indicate different encryption keys and/or encryption algorithms for different fields for which encryption is to be provided.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP07803497A EP2076865A1 (en) | 2006-09-27 | 2007-09-14 | Encrypting and decrypting database records |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/535,978 | 2006-09-27 | ||
US11/535,978 US7904732B2 (en) | 2006-09-27 | 2006-09-27 | Encrypting and decrypting database records |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2008037605A1 true WO2008037605A1 (en) | 2008-04-03 |
Family
ID=38687361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/EP2007/059711 WO2008037605A1 (en) | 2006-09-27 | 2007-09-14 | Encrypting and decrypting database records |
Country Status (3)
Country | Link |
---|---|
US (1) | US7904732B2 (en) |
EP (1) | EP2076865A1 (en) |
WO (1) | WO2008037605A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2386978B1 (en) * | 2010-05-14 | 2020-01-15 | Giesecke+Devrient Mobile Security GmbH | Personalization data providing unit |
CN114491580A (en) * | 2021-12-30 | 2022-05-13 | 深圳市恒创智达信息技术有限公司 | Database sensitive information encryption method and device |
Families Citing this family (57)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080263366A1 (en) * | 2007-04-19 | 2008-10-23 | Microsoft Corporation | Self-verifying software to prevent reverse engineering and piracy |
US9158933B2 (en) * | 2007-08-17 | 2015-10-13 | Sybase, Inc. | Protection of encryption keys in a database |
JP4378404B2 (en) * | 2007-09-27 | 2009-12-09 | 株式会社沖データ | Electronic file approval management system |
US20090089589A1 (en) * | 2007-09-28 | 2009-04-02 | Kabushiki Kaisha Toshiba | Information processing apparatus for protected data files and information processing method thereof |
JP2009251803A (en) * | 2008-04-03 | 2009-10-29 | Canon Inc | Information processing apparatus, data processing method, and program |
US20090319772A1 (en) * | 2008-04-25 | 2009-12-24 | Netapp, Inc. | In-line content based security for data at rest in a network storage system |
US9395929B2 (en) * | 2008-04-25 | 2016-07-19 | Netapp, Inc. | Network storage server with integrated encryption, compression and deduplication capability |
US8589697B2 (en) | 2008-04-30 | 2013-11-19 | Netapp, Inc. | Discarding sensitive data from persistent point-in-time image |
US8117464B1 (en) | 2008-04-30 | 2012-02-14 | Netapp, Inc. | Sub-volume level security for deduplicated data |
US20100005318A1 (en) * | 2008-07-02 | 2010-01-07 | Akram Hosain | Process for securing data in a storage unit |
US8510352B2 (en) * | 2008-10-24 | 2013-08-13 | Microsoft Corporation | Virtualized boot block with discovery volume |
US20100205444A1 (en) * | 2009-02-12 | 2010-08-12 | Jatinkumar Harjivan Mehta | Software Program for Encrypting and Decrypting, Digital Media; Photograph and Video and encoding an expiration date in them. |
US8417969B2 (en) * | 2009-02-19 | 2013-04-09 | Microsoft Corporation | Storage volume protection supporting legacy systems |
US8073886B2 (en) | 2009-02-20 | 2011-12-06 | Microsoft Corporation | Non-privileged access to data independent of filesystem implementation |
US9317717B2 (en) | 2012-12-28 | 2016-04-19 | Open Invention Network, Llc | Separate cryptographic keys for protecting different operations on data |
US8972467B2 (en) * | 2010-08-31 | 2015-03-03 | Sovanta Ag | Method for selecting a data set from a plurality of data sets by means of an input device |
US9652769B1 (en) | 2010-11-30 | 2017-05-16 | Carbonite, Inc. | Methods, apparatus and systems for securely storing and/or accessing payment information or other sensitive information based on tokens |
US8677461B2 (en) | 2011-04-21 | 2014-03-18 | Lsi Corporation | Method to provide chip based security for I/O packets in an array using dynamic topology |
US9224000B1 (en) * | 2011-06-14 | 2015-12-29 | Ionic Security, Inc. | Systems and methods for providing information security using context-based keys |
US20130081109A1 (en) * | 2011-09-23 | 2013-03-28 | Corent Technology, Inc. | Multi-Tenant Agile Database Connector |
US10862784B2 (en) * | 2011-10-04 | 2020-12-08 | Electro Industries/Gauge Tech | Systems and methods for processing meter information in a network of intelligent electronic devices |
US9749132B1 (en) * | 2011-11-28 | 2017-08-29 | Amazon Technologies, Inc. | System and method for secure deletion of data |
US9256762B1 (en) | 2011-12-20 | 2016-02-09 | Amazon Technologies, Inc. | Securing a remote database |
US10661885B2 (en) | 2012-05-16 | 2020-05-26 | The Boeing Company | Shape memory alloy active spars for blade twist |
CN104704493B (en) * | 2012-08-15 | 2019-06-07 | 维萨国际服务协会 | The encrypted data that can search for |
US9294267B2 (en) | 2012-11-16 | 2016-03-22 | Deepak Kamath | Method, system and program product for secure storage of content |
US9275249B1 (en) | 2013-03-07 | 2016-03-01 | Amazon Technologies, Inc. | Accelerated encrypted database operations |
US20140258720A1 (en) * | 2013-03-11 | 2014-09-11 | Barracuda Networks, Inc. | Systems and methods for transparent per-file encryption and decryption via metadata identification |
US11816465B2 (en) | 2013-03-15 | 2023-11-14 | Ei Electronics Llc | Devices, systems and methods for tracking and upgrading firmware in intelligent electronic devices |
US9071429B1 (en) * | 2013-04-29 | 2015-06-30 | Amazon Technologies, Inc. | Revocable shredding of security credentials |
US10380352B2 (en) | 2014-02-04 | 2019-08-13 | International Business Machines Corporation | Document security in enterprise content management systems |
US11734396B2 (en) | 2014-06-17 | 2023-08-22 | El Electronics Llc | Security through layers in an intelligent electronic device |
US9397833B2 (en) | 2014-08-27 | 2016-07-19 | International Business Machines Corporation | Receipt, data reduction, and storage of encrypted data |
US9397832B2 (en) | 2014-08-27 | 2016-07-19 | International Business Machines Corporation | Shared data encryption and confidentiality |
EP3032453B1 (en) * | 2014-12-08 | 2019-11-13 | eperi GmbH | Storing data in a server computer with deployable encryption/decryption infrastructure |
US9798893B2 (en) * | 2015-01-29 | 2017-10-24 | International Business Machines Corporation | Secure format-preserving encryption of data fields |
US9608810B1 (en) | 2015-02-05 | 2017-03-28 | Ionic Security Inc. | Systems and methods for encryption and provision of information security using platform services |
US10657275B2 (en) * | 2015-06-02 | 2020-05-19 | K2View Ltd | Encryption directed database management system and method |
US10833843B1 (en) * | 2015-12-03 | 2020-11-10 | United Services Automobile Association (USAA0 | Managing blockchain access |
US10958435B2 (en) | 2015-12-21 | 2021-03-23 | Electro Industries/ Gauge Tech | Providing security in an intelligent electronic device |
US10503730B1 (en) | 2015-12-28 | 2019-12-10 | Ionic Security Inc. | Systems and methods for cryptographically-secure queries using filters generated by multiple parties |
US10740474B1 (en) | 2015-12-28 | 2020-08-11 | Ionic Security Inc. | Systems and methods for generation of secure indexes for cryptographically-secure queries |
US10419401B2 (en) * | 2016-01-08 | 2019-09-17 | Capital One Services, Llc | Methods and systems for securing data in the public cloud |
US20180137302A1 (en) * | 2016-07-26 | 2018-05-17 | Salesforce.Com, Inc. | Techniques and architectures for field and/or record level security mechanisms |
US11393046B1 (en) * | 2017-01-17 | 2022-07-19 | Intuit Inc. | System and method for perpetual rekeying of various data columns with a frequency and encryption strength based on the sensitivity of the data columns |
US10303895B1 (en) | 2017-01-19 | 2019-05-28 | Intuit Inc. | System and method for perpetual rekeying of various data columns with respective encryption keys and on alternating bases |
US11210412B1 (en) | 2017-02-01 | 2021-12-28 | Ionic Security Inc. | Systems and methods for requiring cryptographic data protection as a precondition of system access |
US11754997B2 (en) | 2018-02-17 | 2023-09-12 | Ei Electronics Llc | Devices, systems and methods for predicting future consumption values of load(s) in power distribution systems |
US11686594B2 (en) | 2018-02-17 | 2023-06-27 | Ei Electronics Llc | Devices, systems and methods for a cloud-based meter management system |
US11734704B2 (en) | 2018-02-17 | 2023-08-22 | Ei Electronics Llc | Devices, systems and methods for the collection of meter data in a common, globally accessible, group of servers, to provide simpler configuration, collection, viewing, and analysis of the meter data |
US10326742B1 (en) | 2018-03-23 | 2019-06-18 | Journera, Inc. | Cryptographically enforced data exchange |
CN110858249B (en) * | 2018-08-24 | 2021-11-16 | 中移(杭州)信息技术有限公司 | Database file encryption method, database file decryption method and related devices |
US11863589B2 (en) | 2019-06-07 | 2024-01-02 | Ei Electronics Llc | Enterprise security in meters |
US11652626B2 (en) * | 2020-02-18 | 2023-05-16 | International Business Machines Corporation | Safeguarding cryptographic keys from modification or deletion |
CN113591157B (en) * | 2021-07-09 | 2022-12-16 | 厦门市美亚柏科信息股份有限公司 | Access encrypted database detection method, terminal device and storage medium |
CN113836558A (en) * | 2021-09-27 | 2021-12-24 | 西安万像电子科技有限公司 | File encryption method, device and file decryption method |
EP4160450A1 (en) * | 2021-09-30 | 2023-04-05 | Palantir Technologies Inc. | User-friendly, secure and auditable cryptography system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040030889A1 (en) * | 2002-08-09 | 2004-02-12 | Broadcom Corporation | Methods and apparatus for initialization vector processing |
WO2006006931A1 (en) * | 2004-07-09 | 2006-01-19 | Infinisec Holding Ab | Storing of metadata |
Family Cites Families (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7080392B1 (en) * | 1991-12-02 | 2006-07-18 | David Michael Geshwind | Process and device for multi-level television program abstraction |
SE506853C2 (en) * | 1996-06-20 | 1998-02-16 | Anonymity Prot In Sweden Ab | Method of data processing |
US6446092B1 (en) * | 1996-11-01 | 2002-09-03 | Peerdirect Company | Independent distributed database system |
US6591272B1 (en) | 1999-02-25 | 2003-07-08 | Tricoron Networks, Inc. | Method and apparatus to make and transmit objects from a database on a server computer to a client computer |
US7093137B1 (en) * | 1999-09-30 | 2006-08-15 | Casio Computer Co., Ltd. | Database management apparatus and encrypting/decrypting system |
US6757898B1 (en) | 2000-01-18 | 2004-06-29 | Mckesson Information Solutions, Inc. | Electronic provider—patient interface system |
EP1410131A2 (en) * | 2000-02-22 | 2004-04-21 | Visualgold.com, Inc. | Secure distributing services network system and method thereof |
JP2002055931A (en) | 2000-05-29 | 2002-02-20 | Oriibu Joho Shiyori Service Kk | Automatic data transmitter |
US7111005B1 (en) * | 2000-10-06 | 2006-09-19 | Oracle International Corporation | Method and apparatus for automatic database encryption |
US20030021417A1 (en) * | 2000-10-20 | 2003-01-30 | Ognjen Vasic | Hidden link dynamic key manager for use in computer systems with database structure for storage of encrypted data and method for storage and retrieval of encrypted data |
US6928487B2 (en) | 2000-12-23 | 2005-08-09 | International Business Machines Corporation | Computer system, method, and business method for automating business-to-business communications |
US7266699B2 (en) * | 2001-08-30 | 2007-09-04 | Application Security, Inc. | Cryptographic infrastructure for encrypting a database |
US20030088783A1 (en) * | 2001-11-06 | 2003-05-08 | Dipierro Massimo | Systems, methods and devices for secure computing |
US7269729B2 (en) * | 2001-12-28 | 2007-09-11 | International Business Machines Corporation | Relational database management encryption system |
US7418600B2 (en) * | 2003-03-13 | 2008-08-26 | International Business Machines Corporation | Secure database access through partial encryption |
US7743069B2 (en) * | 2004-09-03 | 2010-06-22 | Sybase, Inc. | Database system providing SQL extensions for automated encryption and decryption of column data |
US7571490B2 (en) * | 2004-11-01 | 2009-08-04 | Oracle International Corporation | Method and apparatus for protecting data from unauthorized modification |
US7539682B2 (en) * | 2005-03-14 | 2009-05-26 | Microsoft Corporation | Multilevel secure database |
US7761704B2 (en) * | 2005-03-17 | 2010-07-20 | Oracle International Corporation | Method and apparatus for expiring encrypted data |
US20060277413A1 (en) * | 2005-06-01 | 2006-12-07 | Drews Dennis T | Data security |
US7639819B2 (en) * | 2005-06-16 | 2009-12-29 | Oracle International Corporation | Method and apparatus for using an external security device to secure data in a database |
-
2006
- 2006-09-27 US US11/535,978 patent/US7904732B2/en active Active
-
2007
- 2007-09-14 EP EP07803497A patent/EP2076865A1/en not_active Withdrawn
- 2007-09-14 WO PCT/EP2007/059711 patent/WO2008037605A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040030889A1 (en) * | 2002-08-09 | 2004-02-12 | Broadcom Corporation | Methods and apparatus for initialization vector processing |
WO2006006931A1 (en) * | 2004-07-09 | 2006-01-19 | Infinisec Holding Ab | Storing of metadata |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2386978B1 (en) * | 2010-05-14 | 2020-01-15 | Giesecke+Devrient Mobile Security GmbH | Personalization data providing unit |
CN114491580A (en) * | 2021-12-30 | 2022-05-13 | 深圳市恒创智达信息技术有限公司 | Database sensitive information encryption method and device |
Also Published As
Publication number | Publication date |
---|---|
EP2076865A1 (en) | 2009-07-08 |
US7904732B2 (en) | 2011-03-08 |
US20080077806A1 (en) | 2008-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7904732B2 (en) | Encrypting and decrypting database records | |
US8799651B2 (en) | Method and system for encrypted file access | |
US7827403B2 (en) | Method and apparatus for encrypting and decrypting data in a database table | |
EP2731041B1 (en) | Computer system for storing and retrieval of encrypted data items, client computer, computer program product and computer-implemented method | |
US6249866B1 (en) | Encrypting file system and method | |
JP3640339B2 (en) | System for retrieving electronic data file and method for maintaining the same | |
CN102394894B (en) | Network virtual disk file safety management method based on cloud computing | |
US7587608B2 (en) | Method and apparatus for storing data on the application layer in mobile devices | |
US8424102B1 (en) | Document access auditing | |
JP4853939B2 (en) | Offline access in document control systems | |
EP1698991B1 (en) | Method and computer-readable medium for generating usage rights for an item based upon access rights | |
US10666647B2 (en) | Access to data stored in a cloud | |
CN110889130B (en) | Database-based fine-grained data encryption method, system and device | |
JP2007511821A (en) | Distributed document version control | |
WO2011099972A1 (en) | Executable identity based file access | |
US11256662B2 (en) | Distributed ledger system | |
US20220156395A1 (en) | Methods of and systems for virtual air-gapping network storage system | |
US20120008771A1 (en) | Method of Accessing a Data Storage Device | |
US8874907B1 (en) | Controlling access to an NFS share | |
CN114626084A (en) | Secure smart container for controlling access to data | |
CA3188334A1 (en) | A database server system | |
JP4371995B2 (en) | Shared file access control method, system, server device, and program | |
EP4137978A1 (en) | Enhanced data security through combination of encryption and vertical fragmentation of tabular data | |
GB2434887A (en) | Access control by encrypting stored data with a key based on a "fingerprint" of the device storing the data | |
Jammalamadaka et al. | Providing Data Sharing As a Service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07803497 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2007803497 Country of ref document: EP |