Role Based Access (or RBA, sometimes referred to as role-based access control, or RBAC) refers to a technology in which access to computer resources (e.g., objects) is controlled based on user roles. In general, a user role defines one or more actions that can be taken, a scope of resources on which the actions can be taken, and the users (which may include groups), generally referred to as members, that can take the actions on the resources. For example, a user role may define the actions of starting and stopping virtual machines, specify which virtual machines may be started and stopped (the scope), and identify which members can take those allowed actions on those specified virtual machines.
Role based access enables effective management and enforcement of security policies that can vary among enterprises. However, role based access significantly limits enterprise administrators with respect to having to provide or not provide more selective resource access. For example, users in different user roles cannot access a resource unless the administrator grants access to both user roles, which is often not desirable because doing so also grants access to any other members in those roles. Similarly, if a resource is in the scope of a user role, all members of that role have access to the resource, which is not always desirable.
This Summary is provided to introduce a selection of representative 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 in any way that would limit the scope of the claimed subject matter.
Briefly, various aspects of the subject matter described herein are directed towards a technology by which access to a resource may be shared with specified other receiving entities (e.g., users or user roles) outside of a user role, and/or a resource may be isolated from other users in the user role by specifying an exclusive user owner. In one aspect, information is associated with a resource (e.g., by an administrator) that identifies an owner of that resource. In one aspect, the owner may name a set (e.g., a list) of zero or more receiving entities that are granted shared access to that resource.
Upon receiving a request to access an owned resource, an authorization mechanism evaluates whether the request is from the owner or from a user that corresponds to an entity in the set. Access is denied to any other user in that user's user role; (note however that users in parent user roles may still have access to this resource). Isolation is provided by naming an owner while not naming an entity in the set. Sharing is provided by naming an owner while including at least one entity in the set that gets shared access to the resource. Actions provided in conjunction with the access request are allowed if the requestor has the permission to perform the action on the resource.
In one aspect, information may be associated (e.g., by an administrator) with the owner indicative of whether the owner is permitted to share the resource. This may be on a user role basis, e.g., the owner belongs to a user role, and members of the user role are permitted to share all owned resources, or share no owned resources.
In one aspect, information may be associated (e.g., by an administrator) with a member indicative of whether the user is permitted to receive shared resources. This may be on a user role basis, e.g., the member belongs to a user role, and members of the user role are permitted to receive shared resources, or receive no shared resources.
The list that allows sharing may be built based upon the sharing and receiving permissions. For example, the owner can only add names if the owner is permitted to share resources, and the name can only be added if the named entity is permitted to receive shared resources.
Other advantages may become apparent from the following detailed description when taken in conjunction with the drawings.
The present invention is illustrated by way of example and not limited in the accompanying figures in which like reference numerals indicate similar elements and in which:
Various aspects of the technology described herein are generally directed towards including sharing and/or isolation mechanisms and techniques in a role based access (RBA) system, which provide for resource sharing (shared resource access across user roles) and resource isolation (selective resource access within a user role). In one aspect, resources are each associated with a maintained “GrantedTo” list that contains information about users with whom that resource may be shared. Each resource also may be associated with a maintained “Owner” property that contains identifier information about which user has exclusive access (within the user role) to that resource, including for the purpose of any resource sharing. As will be understood, the GrantedTo list provides for resource sharing, while the Owner property provides for resource isolation.
In one aspect, there is also described administrator-level control over the ability to share resources and/or receive shared resources. An administrator selects whether a resource owner (e.g., as part of a user role) is permitted to share the resource with another user, and/or whether members (e.g., of a user role) are permitted to receive shared resources from other user owners.
It should be understood that any of the examples herein are non-limiting. For one, while virtual machines and folders/files are used as examples of resources, other types of resources (e.g., database tables and/or portions of database tables, devices and so forth) may benefit from the technology described herein. As such, the present invention is not limited to any particular embodiments, aspects, concepts, structures, functionalities or examples described herein. Rather, any of the embodiments, aspects, concepts, structures, functionalities or examples described herein are non-limiting, and the present invention may be used various ways that provide benefits and advantages in computing and access considerations in general.
The resources 112 are generally represented in the data store 102 in a hierarchy of one or more levels, and each user role is further associated with a scope (a subset of that resource hierarchy) comprising zero or more resources assigned to the user role that can be accessed with respect to performing the allowed actions. The oval labeled 114 in
In general, role based resource access (action) requests 116 are handled by an authorization manager 118 or the like, which (assuming a known user) looks up information in the data store 102 to determine whether a requested action may be performed on a specified resource. In general the authorization manager 118 determines the user's user role or roles, whether the requested action is allowed for the user role and whether the resource is in the scope of the user role. In this way, during runtime, role based access-enabled applications may query the authorization manager 118, which determines resource access for a requested task from relationships maintained in the data store 102.
In known technologies, an entire user role either had access to the resource (to the extent of the allowed actions for that role), or did not. With the technology described herein, each resource has a resource owner property that may be populated to indicate a resource owner (e.g., block, 122), which provides for resource isolation, as described below. Further, each resource may have a “GrantedTo” list (e.g., block, 124) that allows other users (including non-members of the owner's user role) to be granted access by the owner to an owned resource, yet without providing anyone else (at the non-administrator level or levels) with access.
In one implementation, only a resource owner can share a resource with a receiving user or user role; (resource sharing and receiving abilities may be subject to administrator permission, as described below). In one implementation, the owner identified in the owner property is a single user within a user role who has exclusive access to the resource; (note that higher level administrators also have access, and thus “exclusive” refers to exclusive with respect to other user-level members). A higher-level administrator sets the owner property. In alternative implementations, more than one owner may be set, and/or a user role (or more than one) may be identified as an owner.
As is known and generally represented in
Below the delegated administrators are users and user roles referred to as self-service and/or other user roles; (USERA-USERC and UR1 and UR2 are shown in this simplified example, however any practical number of users and/or user roles may be present). Note that in one implementation, members of user roles are unable to create new user roles.
As described herein and as generally represented in
In sum, the GrantedTo list comprises a list of users or user roles that receive shared access to the resource. Only the owner (or higher-level administrators) is able to change the GrantedTo list on a resource. Any user or user role that is added to the GrantedTo list basically receives access to the shared resource, and is able to perform any actions on that resource that are permitted by his or her user role; however an added user is not able to change the owner of the resource or share the resource further with any other user. This ensures that the original owner never loses control of the resource unless the owner specifically relinquishes it, or a higher level administrator intervenes. Note that the GrantedTo list is an inclusion model that allows for adding one or more others while excluding everyone else; it is feasible to also (or instead) have an exclusion mode that adds everyone except for excluded users and/or user roles.
Note that in one model, the user that receives access has rights to perform actions on the resource based on the receiving user's user role's allowed actions, not the owner's user role's allowed actions. For example, if an owner of a virtual machine resource only is allowed actions that can start and stop the virtual machine, and that owner shares the virtual machine resource with another user, that receiving user may, according to the receiving user's user role, perform a different set of actions on that virtual machine, such as to delete it. In alternative models, an owner can instead share resource access that is limited to only the set (or a chosen subset) of actions that the owner can perform. In another alternative, the owned resource can be shared with read-only access.
If the requested action is allowed at step 602, step 604 evaluates whether an owner has been named for this resource. If there is no owner identified for this resource, the action denied at step 610. Note that other models are feasible, e.g., an empty owner property may be treated as if isolation/sharing is not supported for the resource, even though isolation/sharing is supported for the user role.
If the action is allowed and there is an owner, steps 606 and 608 evaluate whether the requestor is the owner, or is listed in the GrantedTo list, respectively. Note that this is shown as two decisions in
Turning to another aspect, the administrator may control the sharing operations as desired by setting whether resource sharing is permitted by the owner, and/or whether receiving of a shared resource is permitted (to the receiving entity). This may be set at any time, including before any owner is associated with a resource.
In one implementation, represented in the user interface 770 of
Thus, in one implementation, user roles that need sharing and isolation are set with share and receive permissions. A user can share resource only if his or her user role is permitted to share. Similarly a user can receive a shared resource only if his or her user role is permitted to receive. Share and receive permissions on user roles are set by higher level administrators, which enables administrators to maintain control over who can share and who can receive.
The GrantedTo list may be built based on this share permitted/receive permitted information, e.g., entered via the user interface 770 for user role granularity, (or a similar interface for a finer granularity). Only if the owner is allowed to share resources according to this administrator setting can there be a non-empty GrantedTo list associated with any of the owner's resources (unless the administrator adds an entity). Then, only if the named user or user role is allowed to receive shared resources according to his or her corresponding administrator setting, is the named entity allowed to be added by the owner to the GrantedTo list, for example.
As can be seen, to facilitate isolation and sharing, each shareable resource is associated with an owner property and GrantedTo list. The owner can share a resource with a receiving entity, subject to permission to share and permission to receive access as controlled by an administrator.
One of ordinary skill in the art can appreciate that the various embodiments and methods described herein can be implemented in connection with any computer or other client or server device, which can be deployed as part of a computer network or in a distributed computing environment, and can be connected to any kind of data store or stores. In this regard, the various embodiments described herein can be implemented in any computer system or environment having any number of memory or storage units, and any number of applications and processes occurring across any number of storage units. This includes, but is not limited to, an environment with server computers and client computers deployed in a network environment or a distributed computing environment, having remote or local storage.
Distributed computing provides sharing of computer resources and services by communicative exchange among computing devices and systems. These resources and services include the exchange of information, cache storage and disk storage for objects, such as files. These resources and services also include the sharing of processing power across multiple processing units for load balancing, expansion of resources, specialization of processing, and the like. Distributed computing takes advantage of network connectivity, allowing clients to leverage their collective power to benefit the entire enterprise. In this regard, a variety of devices may have applications, objects or resources that may participate in the resource management mechanisms as described for various embodiments of the subject disclosure.
Each computing object 810, 812, etc. and computing objects or devices 820, 822, 824, 826, 828, etc. can communicate with one or more other computing objects 810, 812, etc. and computing objects or devices 820, 822, 824, 826, 828, etc. by way of the communications network 840, either directly or indirectly. Even though illustrated as a single element in
There are a variety of systems, components, and network configurations that support distributed computing environments. For example, computing systems can be connected together by wired or wireless systems, by local networks or widely distributed networks. Currently, many networks are coupled to the Internet, which provides an infrastructure for widely distributed computing and encompasses many different networks, though any network infrastructure can be used for exemplary communications made incident to the systems as described in various embodiments.
Thus, a host of network topologies and network infrastructures, such as client/server, peer-to-peer, or hybrid architectures, can be utilized. The “client” is a member of a class or group that uses the services of another class or group to which it is not related. A client can be a process, e.g., roughly a set of instructions or tasks, that requests a service provided by another program or process. The client process utilizes the requested service without having to “know” any working details about the other program or the service itself.
In a client/server architecture, particularly a networked system, a client is usually a computer that accesses shared network resources provided by another computer, e.g., a server. In the illustration of
A server is typically a remote computer system accessible over a remote or local network, such as the Internet or wireless network infrastructures. The client process may be active in a first computer system, and the server process may be active in a second computer system, communicating with one another over a communications medium, thus providing distributed functionality and allowing multiple clients to take advantage of the information-gathering capabilities of the server.
In a network environment in which the communications network 840 or bus is the Internet, for example, the computing objects 810, 812, etc. can be Web servers with which other computing objects or devices 820, 822, 824, 826, 828, etc. communicate via any of a number of known protocols, such as the hypertext transfer protocol (HTTP). Computing objects 810, 812, etc. acting as servers may also serve as clients, e.g., computing objects or devices 820, 822, 824, 826, 828, etc., as may be characteristic of a distributed computing environment.
As mentioned, advantageously, the techniques described herein can be applied to any device. It can be understood, therefore, that handheld, portable and other computing devices and computing objects of all kinds are contemplated for use in connection with the various embodiments. Accordingly, the below general purpose remote computer described below in
Embodiments can partly be implemented via an operating system, for use by a developer of services for a device or object, and/or included within application software that operates to perform one or more functional aspects of the various embodiments described herein. Software may be described in the general context of computer executable instructions, such as program modules, being executed by one or more computers, such as client workstations, servers or other devices. Those skilled in the art will appreciate that computer systems have a variety of configurations and protocols that can be used to communicate data, and thus, no particular configuration or protocol is considered limiting.
With reference to
Computer 910 typically includes a variety of computer readable media and can be any available media that can be accessed by computer 910. The system memory 930 may include computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) and/or random access memory (RAM). By way of example, and not limitation, system memory 930 may also include an operating system, application programs, other program modules, and program data.
A user can enter commands and information into the computer 910 through input devices 940. A monitor or other type of display device is also connected to the system bus 922 via an interface, such as output interface 950. In addition to a monitor, computers can also include other peripheral output devices such as speakers and a printer, which may be connected through output interface 950.
The computer 910 may operate in a networked or distributed environment using logical connections to one or more other remote computers, such as remote computer 970. The remote computer 970 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, or any other remote media consumption or transmission device, and may include any or all of the elements described above relative to the computer 910. The logical connections depicted in
As mentioned above, while exemplary embodiments have been described in connection with various computing devices and network architectures, the underlying concepts may be applied to any network system and any computing device or system in which it is desirable to improve efficiency of resource usage.
Also, there are multiple ways to implement the same or similar functionality, e.g., an appropriate API, tool kit, driver code, operating system, control, standalone or downloadable software object, etc. which enables applications and services to take advantage of the techniques provided herein. Thus, embodiments herein are contemplated from the standpoint of an API (or other software object), as well as from a software or hardware object that implements one or more embodiments as described herein. Thus, various embodiments described herein can have aspects that are wholly in hardware, partly in hardware and partly in software, as well as in software.
The word “exemplary” is used herein to mean serving as an example, instance, or illustration. For the avoidance of doubt, the subject matter disclosed herein is not limited by such examples. In addition, any aspect or design described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other aspects or designs, nor is it meant to preclude equivalent exemplary structures and techniques known to those of ordinary skill in the art. Furthermore, to the extent that the terms “includes,” “has,” “contains,” and other similar words are used, for the avoidance of doubt, such terms are intended to be inclusive in a manner similar to the term “comprising” as an open transition word without precluding any additional or other elements when employed in a claim.
As mentioned, the various techniques described herein may be implemented in connection with hardware or software or, where appropriate, with a combination of both. As used herein, the terms “component,” “module,” “system” and the like are likewise intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on computer and the computer can be a component. One or more components may reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between two or more computers.
The aforementioned systems have been described with respect to interaction between several components. It can be appreciated that such systems and components can include those components or specified sub-components, some of the specified components or sub-components, and/or additional components, and according to various permutations and combinations of the foregoing. Sub-components can also be implemented as components communicatively coupled to other components rather than included within parent components (hierarchical). Additionally, it can be noted that one or more components may be combined into a single component providing aggregate functionality or divided into several separate sub-components, and that any one or more middle layers, such as a management layer, may be provided to communicatively couple to such sub-components in order to provide integrated functionality. Any components described herein may also interact with one or more other components not specifically described herein but generally known by those of skill in the art.
In view of the exemplary systems described herein, methodologies that may be implemented in accordance with the described subject matter can also be appreciated with reference to the flowcharts of the various figures. While for purposes of simplicity of explanation, the methodologies are shown and described as a series of blocks, it is to be understood and appreciated that the various embodiments are not limited by the order of the blocks, as some blocks may occur in different orders and/or concurrently with other blocks from what is depicted and described herein. Where non-sequential, or branched, flow is illustrated via flowchart, it can be appreciated that various other branches, flow paths, and orders of the blocks, may be implemented which achieve the same or a similar result. Moreover, some illustrated blocks are optional in implementing the methodologies described hereinafter.
While the invention is susceptible to various modifications and alternative constructions, certain illustrated embodiments thereof are shown in the drawings and have been described above in detail. It should be understood, however, that there is no intention to limit the invention to the specific forms disclosed, but on the contrary, the intention is to cover all modifications, alternative constructions, and equivalents falling within the spirit and scope of the invention.
In addition to the various embodiments described herein, it is to be understood that other similar embodiments can be used or modifications and additions can be made to the described embodiment(s) for performing the same or equivalent function of the corresponding embodiment(s) without deviating therefrom. Still further, multiple processing chips or multiple devices can share the performance of one or more functions described herein, and similarly, storage can be effected across a plurality of devices. Accordingly, the invention is not to be limited to any single embodiment, but rather is to be construed in breadth, spirit and scope in accordance with the appended claims.