Computers have become highly integrated in the workforce, in the home, in mobile devices, and many other places. Computers can process massive amounts of information quickly and efficiently. Software applications designed to run on computer systems allow users to perform a wide variety of functions including business applications, schoolwork, entertainment and more. Software applications are often designed to perform specific tasks, such as word processor applications for drafting documents, or email programs for sending, receiving and organizing email.
In many cases, software applications are designed to interact with other software applications or other computer systems. For example, web browsers allow users to access information such as web pages, email, videos, music and other types of data. In some cases, enterprises or other organizations may provide data on these web servers that is intended only for certain users (e.g. employees). In such cases, the employees typically log in and are authenticated before being given access to the data. In other scenarios, enterprises or other organizations may provide some or all of their data via a third party data host such as a cloud hosting company. Such cloud hosting companies may provide the organization's data and/or applications to a wide variety of authenticated and unauthenticated users.
Embodiments described herein are directed to generating a group key that allows multiple principals to access a specified data resource and to publishing encrypted data that is accessible by multiple different principals. In one embodiment, a computer system accesses a first principal's public key to generate a group private key that is encrypted using the first principal's public key. The generated group private key provides access to data keys that are used to encrypt data resources. The computer system accesses a second principal's public key to encrypt the generated group private key using the second principal's public key and encrypts at least one of the data keys using a group public key, where the data key allows access to encrypted data resources. The first principal then decrypts the group private key using the first principal's private key, decrypts the data key using the decrypted group private key and accesses the data resource using the decrypted data key. The second principal also decrypts the group private key using the second principal's private key, decrypts the data key using the decrypted group private key and accesses the data resource using the decrypted data key. In this manner, multiple users access encrypted data using the same group keys.
In another embodiment, a computer system performs a method for publishing encrypted data that is accessible by multiple different principals. A first principal publishes a portion of data that was encrypted using a data key of the first principal. A second principal accesses a group private key that was encrypted using both the first principal's public key and the second principal's public key. The second principal decrypts the group private key using the second principal's private key and decrypts the first principal's data key using the decrypted group private key. The second principal then uses the first principal's decrypted data key to access the encrypted portion of data published by the first principal.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
Additional features and advantages will be set forth in the description which follows, and in part will be apparent to one of ordinary skill in the art from the description, or may be learned by the practice of the teachings herein. Features and advantages of embodiments described herein may be realized and obtained by means of the instruments and combinations particularly pointed out in the appended claims. Features of the embodiments described herein will become more fully apparent from the following description and appended claims.
To further clarify the above and other features of the embodiments described herein, a more particular description will be rendered by reference to the appended drawings. It is appreciated that these drawings depict only examples of the embodiments described herein and are therefore not to be considered limiting of its scope. The embodiments will be described and explained with additional specificity and detail through the use of the accompanying drawings in which:
Embodiments described herein are directed to generating a group key that allows multiple principals to access a specified data resource and to publishing encrypted data that is accessible by multiple different principals. In one embodiment, a computer system accesses a first principal's public key to generate a group private key that is encrypted using the first principal's public key. The generated group private key provides access to data keys that are used to encrypt data resources. The computer system accesses a second principal's public key to encrypt the generated group private key using the second principal's public key and encrypts at least one of the data keys using a group public key, where the data key allows access to encrypted data resources. The first principal then decrypts the group private key using the first principal's private key, decrypts the data key using the decrypted group private key and accesses the data resource using the decrypted data key. The second principal also decrypts the group private key using the second principal's private key, decrypts the data key using the decrypted group private key and accesses the data resource using the decrypted data key. In this manner, multiple users access encrypted data using the same group keys.
In another embodiment, a computer system performs a method for publishing encrypted data that is accessible by multiple different principals. A first principal publishes a portion of data that was encrypted using a data key of the first principal. A second principal accesses a group private key that was encrypted using both the first principal's public key and the second principal's public key. The second principal decrypts the group private key using the second principal's private key and decrypts the first principal's data key using the decrypted group private key. The second principal then uses the first principal's decrypted data key to access the encrypted portion of data published by the first principal.
The following discussion now refers to a number of methods and method acts that may be performed. It should be noted, that although the method acts may be discussed in a certain order or illustrated in a flow chart as occurring in a particular order, no particular ordering is necessarily required unless specifically stated, or required because an act is dependent on another act being completed prior to the act being performed.
Embodiments described herein may comprise or utilize a special purpose or general-purpose computer including computer hardware, such as, for example, one or more processors and system memory, as discussed in greater detail below. Embodiments described herein also include physical and other computer-readable media for carrying or storing computer-executable instructions and/or data structures. Such computer-readable media can be any available media that can be accessed by a general purpose or special purpose computer system. Computer-readable media that store computer-executable instructions in the form of data are computer storage media. Computer-readable media that carry computer-executable instructions are transmission media. Thus, by way of example, and not limitation, embodiments described herein can comprise at least two distinctly different kinds of computer-readable media: computer storage media and transmission media.
Computer storage media includes RAM, ROM, EEPROM, CD-ROM, solid state drives (SSDs) that are based on RAM, Flash memory, phase-change memory (PCM), or other types of memory, or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store desired program code means in the form of computer-executable instructions, data or data structures and which can be accessed by a general purpose or special purpose computer.
A “network” is defined as one or more data links and/or data switches that enable the transport of electronic data between computer systems and/or modules and/or other electronic devices. When information is transferred or provided over a network (either hardwired, wireless, or a combination of hardwired or wireless) to a computer, the computer properly views the connection as a transmission medium. Transmission media can include a network which can be used to carry data or desired program code means in the form of computer-executable instructions or in the form of data structures and which can be accessed by a general purpose or special purpose computer. Combinations of the above should also be included within the scope of computer-readable media.
Further, upon reaching various computer system components, program code means in the form of computer-executable instructions or data structures can be transferred automatically from transmission media to computer storage media (or vice versa). For example, computer-executable instructions or data structures received over a network or data link can be buffered in RAM within a network interface module (e.g., a network interface card or “NIC”), and then eventually transferred to computer system RAM and/or to less volatile computer storage media at a computer system. Thus, it should be understood that computer storage media can be included in computer system components that also (or even primarily) utilize transmission media.
Computer-executable (or computer-interpretable) instructions comprise, for example, instructions which cause a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. The computer executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, or even source code. Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the described features or acts described above. Rather, the described features and acts are disclosed as example forms of implementing the claims.
Those skilled in the art will appreciate that various embodiments may be practiced in network computing environments with many types of computer system configurations, including personal computers, desktop computers, laptop computers, message processors, hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, mobile telephones, PDAs, tablets, pagers, routers, switches, and the like. Embodiments described herein may also be practiced in distributed system environments where local and remote computer systems that are linked (either by hardwired data links, wireless data links, or by a combination of hardwired and wireless data links) through a network, each perform tasks (e.g. cloud computing, cloud services and the like). In a distributed system environment, program modules may be located in both local and remote memory storage devices.
In this description and the following claims, “cloud computing” is defined as a model for enabling on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services). The definition of “cloud computing” is not limited to any of the other numerous advantages that can be obtained from such a model when properly deployed.
For instance, cloud computing is currently employed in the marketplace so as to offer ubiquitous and convenient on-demand access to the shared pool of configurable computing resources. Furthermore, the shared pool of configurable computing resources can be rapidly provisioned via virtualization and released with low management effort or service provider interaction, and then scaled accordingly.
A cloud computing model can be composed of various characteristics such as on-demand self-service, broad network access, resource pooling, rapid elasticity, measured service, and so forth. A cloud computing model may also come in the form of various service models such as, for example, Software as a Service (“SaaS”), Platform as a Service (“PaaS”), and Infrastructure as a Service (“IaaS”). The cloud computing model may also be deployed using different deployment models such as private cloud, community cloud, public cloud, hybrid cloud, and so forth. In this description and in the claims, a “cloud computing environment” is an environment in which cloud computing is employed.
Additionally or alternatively, the functionally described herein can be performed, at least in part, by one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Program-specific Integrated Circuits (ASICs), Program-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), and other types of programmable hardware.
Still further, system architectures described herein can include a plurality of independent components that each contribute to the functionality of the system as a whole. This modularity allows for increased flexibility when approaching issues of platform scalability and, to this end, provides a variety of advantages. System complexity and growth can be managed more easily through the use of smaller-scale parts with limited functional scope. Platform fault tolerance is enhanced through the use of these loosely coupled modules. Individual components can be grown incrementally as business needs dictate. Modular development also translates to decreased time to market for new functionality. New functionality can be added or subtracted without impacting the core system.
The encrypted group private key 111E2 may then be decrypted by either the first principal 105A or the second principal 105B using their private keys (107A and 107B, respectively). The decrypted group private key 111D may then be used to access a data key 113. The data key is the key used to encrypt the data 117 of resource 115. The data key itself is encrypted using a group public key 112, which can be decrypted using the decrypted group private key 111D. Once the data key 113 is decrypted, the data key can be used by the principal to access the encrypted data. In this manner, a single group private key may be used which allows multiple users to access a piece of data. These concepts will be explained further below with regard to
Embodiments described herein refer to data encryption and using various forms of encryption to protect sensitive data on distributed or cloud computing systems. To protect sensitive information, the data (either entirely or in parts) is encrypted before it is stored in the cloud. The data is often divided into smaller logical units or resources (e.g. rows in a table or files in a folder) where each resource is encrypted with its own key. In some cases, policy may dictate that keys with which resources are encrypted are periodically “rolled” or updated, depending on the sensitivity of the data. Systems that allow such protection of data may produce a substantial amount of key material which may be difficult to maintain. Moreover, in some cases, policy may dictate that encryption keys are to be shared between multiple parties. Such an implementation can potentially multiply the amount of key material maintained by such system.
Some embodiments described herein are directed to storing encryption keys in the cloud in an encrypted form and providing proper infrastructure for roaming. Roaming in this context refers to the ability to authorize principals to decrypt the keys, as well as ability to revoke such authorization. Because encryption keys are stored in the cloud, no peer-to-peer communication is used when performing the roaming.
In
In one embodiment, each principal who wishes to publish data uses their own data key to encrypt the data. The other principals are able to decrypt this data key using the group private key, and use the data key to decrypt the data (as shown in
In
In view of the systems and architectures described above, methodologies that may be implemented in accordance with the disclosed subject matter will be better appreciated with reference to the flow charts of
Method 200 includes an act of accessing a first principal's public key to generate a group private key that is encrypted using the first principal's public key, the generated group private key providing access to one or more data keys (act 210). For example, group private key generating module 110 of computer system 101 may access public key 106A belonging to first principal 105A. The public key 106A may be used by encryption module 115 to encrypt the group private key 11E1. Both the group private key and the group public key 112 are stored on a distributed or cloud computing system. The group private key is stored in encrypted form on the cloud and, as such, is only accessible to those with a key that can decrypt the group private key (i.e. principal private keys 107A and 107B).
Resources accessible via the group private key are also encrypted using a data key 113. The data key itself is encrypted using the group public key and, as such, is only available to those users that can access the group private key. The resource 115 is encrypted and stored on the cloud and may include data 117 or other resources. The resources may be identified with uniform resource identifiers (URIs) 116. Each principal that publishes data (e.g. data 117) uses their own private data key to encrypt the data. The data encrypted by the principal's private key is accessible using the group private key and data key. Accordingly, data published by one principal is accessible by all other principals that have access to the group private key. As mentioned above, the principal and group public and private keys are asymmetric keys, and the data key is a symmetric key.
Method 200 includes an act of accessing a second principal's public key to encrypt the generated group private key using the second principal's public key (act 220). Thus, as mentioned above, second principal 105B's public key 106B may be used to encrypt the group private key 111E2, in addition to its encryption using first principal 105A's public key 106A. Method 200 also includes an act of encrypting at least one of the one or more data keys using a group public key, the data key allowing access to a data resource (act 230). Thus, resource 115 may be encrypted using data key 113, which itself is encrypted using group public key 112. The resource may include multiple different portions of data 117. Each portion of data may be encrypted by a different data key and may be identified by a different URI.
Method 200 further includes an act of the first principal decrypting the group private key using the first principal's private key (act 240a), decrypting the data key using the decrypted group private key (act 240b), and accessing the data resource using the decrypted data key (act 240c). The second principal can also decrypt the group private key using the second principal's private key (act 250a), decrypt the data key using the decrypted group private key (250b) and access the data resource using the decrypted data key (act 250c). Thus, multiple different principals can access data on the cloud that has been encrypted using a data key. The data key is only decryptable by users that have access to the decrypted group private key.
In some embodiments, the first and second principals 105A and 105B are authorized to access a second, different data resource. In such an embodiment, the first and second principals each encrypt the group private key with their respective public keys in order to access the second data resource. The first principal's authorization to access the second data resource may be revoked by an administrator when desired. The administrator may revoke the principal's authorization by generating a new group private key that is encrypted by another principal's (e.g. the second principal's public key) and then by all other's public keys that are authorized to have access to the data resource protected by the group key. Data that was encrypted using the old keys is still accessible using the old keys. As such, when authorization is revoked, the data portions should be re-encrypted using the newly generated keys.
Method 300 includes an act of determining that a portion of data was published by a first principal that was encrypted using the first principal's data key (act 310). For example, computer system 101 may determine that data portion 117 was published by first principal 105A, and as such, was encrypted using the first principal's data key. The second principal 105B may access a group private key 111E2 that was encrypted using both the first principal's public key and the second principal's public key (act 320). In some cases, the first and second principals may generate their own public, private and data keys (as opposed to having the keys generated by the cloud). Each data key may be used to encrypt a resource identified by a URI (e.g. resource 115). Each portion of data within the data resource may also be encrypted with its own data key (as shown in
Method 300 further includes an act of the second principal decrypting the group private key using the second principal's private key (act 330) and the second principal decrypting the first principal's data key using the decrypted group private key (act 340). Method 300 then includes an act of the second principal using the first principal's decrypted data key to access the encrypted portion of data published by the first principal (act 350). In this manner, multiple different principals can use their corresponding private keys to decrypt whatever has been encrypted using a single URI group key. Individual keys are thus used to encrypt data, while group keys allow decryption of that data.
Accordingly, methods, systems and computer program products are provided which generate a group key that allows multiple principals to access a specified data resource. Moreover, methods, systems and computer program products are provided which publish encrypted data that is accessible by multiple different principals.
The concepts and features described herein may be embodied in other specific forms without departing from their spirit or descriptive characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the disclosure is, therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.