Access control method based on cloud computing technology, and related apparatus
By binding the request attribute information to the access control policy and verifying it according to the matching method, the problem of cumbersome access control configuration in the existing technology is solved, and efficient and flexible access control policy verification and authentication are achieved.
Patent Information
- Application Number
- PCT/CN2024/078905
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-28
- Filing Date
- 2024-02-28
- Publication Date
- 2024-09-06
AI Technical Summary
Existing access control methods based on cloud computing technology are cumbersome to configure and difficult to adapt to complex and changing scenarios, resulting in low efficiency.
By binding the request attribute information to the access control policy and verifying it based on the request attribute matching method and expected value, the access control policy can be configured flexibly, allowing the cloud management platform to conveniently and accurately index the policy that needs to take effect.
It improves the verification efficiency and flexibility of access control policies, simplifies the configuration process, and improves the reliability of authentication of user-triggered access requests.
Smart Images

Figure CN2024078905_06092024_PF_FP
Abstract
Description
An access control method and related device based on cloud computing technology
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on February 28, 2023, with application number CN202310179512.8 and invention name “An access control method and related device based on cloud computing technology”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of computer technology, and in particular to an access control method and related devices based on cloud computing technology. Background Art
[0003] Cloud systems can provide consumers with resources such as networks, network bandwidth, servers, storage, or applications as services. Access control policies are often used to ensure security in cloud systems. Specifically, by configuring access control policies, operations or access by cloud system entities (e.g., users or terminal devices) to objects (e.g., cloud resources) are ensured to comply with the access control policies, preventing resource misuse and data leakage.
[0004] Access control policies can be mainly divided into discretionary access control (DAC) and mandatory access control (MAC). Discretionary access control policies are used to grant permissions to users, allowing them to access or operate resources. Mandatory access control policies are used to set permission boundaries. When the cloud system receives a user's request, it first verifies the user's request using the mandatory access control policy. If the verification passes, the user needs authorization from the discretionary access control policy; if the verification fails, the cloud system directly rejects the user's request.
[0005] Currently common access control methods based on cloud computing technology include: Organization Service Control Policy, Organization Tag Policy, Virtual Private Cloud (VPC) endpoint policy or Permissions Boundary and other configuration methods. Taking the Organization Service Control Policy as an example, the Organization Service Control Policy needs to bind the access control policy to the organization, organizational unit (Organizational Unit) or account. The applicant's research found that the configuration of the above-mentioned access control policy is customized. When a certain access control policy is configured, the access control policy is only applicable to the bound object (organization, organizational unit or account). When the access control policy needs to be applied to other objects, it needs to be reconfigured. Therefore, the above method has problems such as cumbersome and inefficient configuration.
[0006] Summary of the Invention
[0007] In the first aspect, an embodiment of the present application proposes an access control method based on cloud computing technology, which is applied to a cloud management platform. The cloud management platform is used to manage infrastructure, and the infrastructure includes at least one cloud data center. Each cloud data center is provided with multiple servers. The method includes: the cloud management platform obtains and records a first access control policy configured by the administrator, wherein configuring the first access control policy includes configuring at least one first request attribute information, and the first request attribute information includes one or any combination of a first request attribute, an expected value of the first request attribute, and a matching method of the first request attribute; the cloud management platform obtains a first access request triggered by a user, and the first access request carries a target request attribute; the cloud management platform detects whether the target request attribute matches the first request attribute, and obtains a first matching result.
[0008] Specifically, the request attribute information refers to various types of context attribute information associated with the access request.
[0009] In an embodiment of the present application, the request attribute information is bound to the access control policy. When the request attribute carried by the access request matches the request attribute information bound to the access control policy, the access control policy is used to verify the access request. This enables flexible configuration of the access control policy, allowing the access control policy to adapt to complex and changing scenarios. The entry-into-force condition of the access control policy is set as the request attribute. Therefore, the cloud management platform can easily and accurately index the access control policy that needs to be effective. This improves the efficiency of using access control policies to verify access requests.
[0010] In combination with the first aspect, in a possible implementation, the cloud management platform allows or denies the first access request based on the first matching result and a first access control policy recorded by the cloud management platform.
[0011] Specifically, when the first matching result indicates that the target request attribute matches the first request attribute, the cloud management platform verifies the first access request using the first access control policy. The verification result indicates that the first access request is allowed, or the verification result indicates that the first access request is denied.
[0012] When the first matching result indicates that the target request attribute does not match the first request attribute, the cloud management platform continues to search for other access control policies that match the target request attribute (the purpose is to find an access control policy whose request attribute matches the target request attribute). When the cloud management platform cannot find an access control policy that matches the target request attribute (the first access request), the cloud management platform rejects the first access request.
[0013] In combination with the first aspect, in a possible implementation method, the cloud management platform obtains and records the second access control policy configured by the administrator, wherein configuring the second access control policy includes configuring at least one second request attribute information, and the second request attribute information includes one or any combination of the second request attribute, the expected value of the second request attribute, and the matching method of the second request attribute; the cloud management platform detects whether the target request attribute matches the second request attribute and obtains a second matching result.
[0014] Specifically, the cloud management platform can also configure multiple access control policies. During verification of the first access request triggered by a user, the cloud management platform can also detect whether the request attributes associated with each of the multiple access control policies match the target request attributes. This method improves the flexibility of configuring access control policies and enhances the reliability of authentication for the first access request triggered by the user.
[0015] In combination with the first aspect, in a possible implementation, the cloud management platform allows or denies the first access request based on the first matching result, the first access control policy recorded by itself, the second matching result, and the second access control policy recorded by itself.
[0016] Specifically, the cloud management platform can also use multiple access control policies that match the target request attributes to authenticate and match the target request attributes. Then, based on the matching results between each access control policy and the target request attributes in the multiple access control policies that match the target request attributes, it is determined whether to allow the first access request or reject the first access request. The multiple access control policies that match the target request attributes refer to the request attributes included in the access control policy matching the target request attributes (the request attributes carried by the first access request). For example, the multiple access control policies that match the target request attributes include: a first access control policy and a second access control policy. The cloud management platform allows or rejects the first access request based on the first matching result (the matching result between the first request attributes included in the first access control policy and the target request attributes), the first access control policy, the second matching result (the matching result between the second request attributes included in the second access control policy and the target request attributes), and the second access control policy. Through the above method, the flexibility of configuring access control policies is improved, and the authentication reliability of the first access request triggered by the user is improved.
[0017] In combination with the first aspect, in a possible implementation method, the cloud management platform detects whether the target request attribute matches the first request attribute and obtains a first matching result, specifically including: the cloud management platform extracts the target request attribute in the first access request; the cloud management platform matches the expected value of the first request attribute with the value of the target request attribute according to the matching method of the first request attribute to obtain the first matching result.
[0018] Specifically, when the cloud management platform authenticates the first access request using the first access control policy, it extracts the target request attribute from the first access request. Then, based on the matching method for the first request attribute included in the first access control policy, it matches the expected value of the first request attribute with the value of the target request attribute to obtain a first matching result. When configuring access control policies, matching rules for access requests can be set by configuring the matching method and expected value of the request attribute, thereby improving configuration convenience.
[0019] In conjunction with the first aspect, in one possible implementation, the matching method includes one or any combination of string fuzzy matching, string exact matching, address range determination, and numerical value comparison. In other words, an access control policy can be configured with multiple matching methods simultaneously. When an access control policy is configured with multiple matching methods, the target request attributes of the access request must simultaneously meet the matching rules indicated by multiple matching methods configured in the access control policy in order for the access request to be verified using the access control policy.
[0020] In combination with the first aspect, in one possible implementation, the first access control policy includes a request attribute field, an expected value field of the request attribute, a value field of the request attribute, a matching method field, an effect field and / or a request type field, wherein the request attribute field is used to identify the request attribute of the first access request, the expected value field of the request attribute is used to match the expected value of the request attribute and the value of the request attribute, the effect field is used to identify whether to allow or deny the first access request, and the request type field is used to identify the request type of the first access request.
[0021] Specifically, the access control policy in the embodiments of the present application may include multiple fields to implement multiple functions of the access control policy. For example, the cloud management platform provides interfaces related to cloud computing services, such as a configuration page or an application program interface (API), for administrators to configure access control policies. Administrators can intuitively configure multiple fields of the access control policy in the interface to implement multiple functions of the access control policy, thereby improving the convenience of configuring the access control policy.
[0022] In combination with the first aspect, in a possible implementation, the request attributes include: user identification ID, user identity identifier, user organization ID, user location path in the organization, tags carried by the user, user identity type, whether the user identity has passed multi-factor authentication, user identity and access management identifier IAM ID, user client application name, identifier of the resource requested for access, organization ID of the resource requested for access, location path in the organization of the resource requested for access, account ID of the resource requested for access, source Internet Protocol IP address of the request, source virtual private cloud VPC of the request, VPC terminal node through which the request passes, whether the request is forwarded via cloud service, cloud service forwarding link of the request, or whether the request is sent using Secure Sockets Layer SSL, one or any combination thereof. In the embodiment of the present application, the access control policy can support the verification of multiple request attributes of the access request, thereby improving the implementation flexibility of the solution.
[0023] In combination with the first aspect, in a possible implementation method, before the cloud management platform obtains and records the first access control policy configured by the administrator, the method also includes: the cloud management platform obtains multiple registration requests carrying different user accounts; the cloud management platform registers and records multiple user accounts according to the multiple registration requests, where the multiple user accounts include the administrator's account; the cloud management platform assigns the configuration authority of the first access control policy to the administrator's account.
[0024] Specifically, the cloud management platform can also register multiple user accounts. In addition, the cloud management platform can also assign different permissions to multiple user accounts, such as setting certain user accounts as administrator accounts, in other words, assigning administrator permissions to the user account. Furthermore, the cloud management platform can also personalize the configuration policy of each access control policy, that is, configure which user accounts have the configuration permissions of the access control policy. For example, the configuration permissions of the first access control policy are assigned to the administrator account. Furthermore, the cloud management platform can further split the configuration permissions of the access control policy, for example, the first configuration permission level can use the access control policy for authentication, the second configuration permission level can modify the access control policy, and the third configuration permission level can delete the access control policy, etc. In the above manner, custom configuration of access control policies can be achieved, user experience can be improved, and the security of the cloud management platform can be guaranteed.
[0025] In a second aspect, embodiments of the present application provide a cloud management platform for managing infrastructure, wherein the infrastructure includes at least one cloud data center, each of which is equipped with multiple servers. The cloud management platform includes:
[0026] A policy configuration module is used to obtain and record the first access control policy configured by the administrator, wherein configuring the first access control policy includes configuring at least one first request attribute information, and the first request attribute information includes one or any combination of the first request attribute, the expected value of the first request attribute, and the matching method of the first request attribute; an access request acquisition module is used to obtain the first access request triggered by the user, and the first access request carries the target request attribute; an authentication module is used to detect whether the target request attribute matches the first request attribute and obtain a first matching result.
[0027] In a possible implementation, the cloud management platform further includes: a permission control module, configured to allow or deny the first access request based on the first matching result and a first access control policy recorded by the cloud management platform.
[0028] In one possible implementation, the policy configuration module is further used to obtain and record a second access control policy configured by the administrator, wherein configuring the second access control policy includes configuring at least one second request attribute information, and the second request attribute information includes one or any combination of a second request attribute, an expected value of the second request attribute, and a matching method of the second request attribute; the authentication module is further used to detect whether the target request attribute matches the second request attribute to obtain a second matching result.
[0029] In a possible implementation, the permission control module is further configured to allow or deny the first access request based on the first matching result, the first access control policy recorded by itself, the second matching result, and the second access control policy recorded by itself.
[0030] In one possible implementation, the authentication module is specifically used to extract the target request attribute in the first access request; the authentication module is also used to match the expected value of the first request attribute with the value of the target request attribute according to the matching method of the first request attribute to obtain a first matching result.
[0031] In a possible implementation, the matching method includes one or any combination of string fuzzy matching, string complete matching, address range determination, and numerical value comparison.
[0032] In one possible implementation, the first access control policy includes a request attribute field, an expected value field of the request attribute, a value field of the request attribute, a matching method field, an effect field and / or a request type field, wherein the request attribute field is used to identify the request attribute of the first access request, the expected value field of the request attribute is used to match the expected value of the request attribute and the value of the request attribute, the effect field is used to identify whether to allow or deny the first access request, and the request type field is used to identify the request type of the first access request.
[0033] In one possible implementation, the request attributes include user identification ID, user identity ID, user organization ID, user location path in the organization, tags carried by the user, user identity type, whether the user identity passes multi-factor authentication, user identity and access management ID IAM ID, user client application name, ID of the resource requested for access, organization ID of the resource requested for access, location path in the organization of the resource requested for access, account ID of the resource requested for access, source Internet Protocol IP address of the request, source virtual private cloud VPC of the request, VPC terminal node through which the request passes, whether the request is forwarded via cloud service, cloud service forwarding link of the request, or whether the request is sent using Secure Sockets Layer SSL, or any combination thereof.
[0034] In one possible implementation, the cloud management platform also includes: a registration module for obtaining multiple registration requests carrying different user accounts; the registration module is also used to register and record multiple user accounts according to the multiple registration requests, where the multiple user accounts include an administrator's account; the registration module is also used to assign the configuration authority of the first access control policy to the administrator's account.
[0035] In a third aspect, an embodiment of the present application provides a computing device cluster, comprising at least one computing device, each computing device comprising a processor and a memory; the processor of at least one computing device is used to execute instructions stored in the memory of at least one computing device, so that the computing device cluster executes any possible method as in the first aspect.
[0036] In a fourth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed by a computing device cluster, enables the computing device cluster to execute any possible method of the first aspect.
[0037] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster executes any possible method of the first aspect.
[0038] In a sixth aspect, an embodiment of the present application provides a chip system, which includes a processor and an interface circuit for supporting a computing device to implement the functions involved in the above aspects, for example, sending or processing the data and / or information involved in the above methods. In one possible design, the chip system also includes a memory for storing program instructions and data necessary for the network device. The chip system can be composed of a chip or can include a chip and other discrete devices.
[0039] In a seventh aspect, the present application provides a server comprising a memory and a processor, wherein the memory stores executable code, and the processor executes the executable code to implement any possible method of the first aspect of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 is a schematic diagram of an organization's service control strategy;
[0041] FIG2 is a schematic diagram of the architecture of a system for an access control method based on cloud computing technology provided in an embodiment of the present application;
[0042] FIG3 is a schematic diagram of a cloud management platform 20 according to an embodiment of the present application;
[0043] FIG4 is a flow chart of an access control method based on cloud computing technology in an embodiment of the present application;
[0044] FIG5 is a schematic diagram of a configuration interface of a first menu in an embodiment of the present application;
[0045] FIG6 is a schematic diagram of a process for determining an access control policy to be matched in an embodiment of the present application;
[0046] FIG7 is an access control method based on cloud computing technology proposed in an embodiment of the present application;
[0047] FIG8 is a schematic diagram of an access control strategy in an embodiment of the present application;
[0048] FIG9 is a schematic diagram of another access control strategy in an embodiment of the present application;
[0049] FIG10 is a schematic diagram of another access control strategy in an embodiment of the present application;
[0050] FIG11 is a schematic diagram of an application scenario in an embodiment of the present application;
[0051] FIG12 is a schematic diagram of the structure of a cloud management platform 20 according to an embodiment of the present application;
[0052] FIG13 is a schematic diagram of the structure of a computing device 1300 according to an embodiment of the present application;
[0053] FIG14 is a schematic diagram of the structure of a computing device cluster according to an embodiment of the present application;
[0054] FIG15 is another structural diagram of a computing device cluster in an embodiment of the present application;
[0055] FIG16 is a schematic diagram of an access control strategy in an embodiment of the present application. DETAILED DESCRIPTION
[0056] Some example implementations of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some example implementations of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the example implementations described herein. Instead, these implementations are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0057] As used herein, the term "including" and its variations represent an open inclusion, i.e., "including but not limited to." Unless otherwise stated, the term "or" means "and / or." The term "based on" means "based at least in part on." The terms "embodiment" and "some embodiments" mean "at least some embodiments." Terms such as "first" and "second" are used to distinguish different objects, etc., and do not indicate a sequential order, nor do they limit the "first" and "second" to different types.
[0058] First, some concepts involved in the embodiments of this application are introduced.
[0059] Cloud technology refers to a hosting service that unifies hardware, software, network and other resources within a wide area network or local area network to achieve data computing, storage, processing and sharing.
[0060] Public cloud refers to a cloud provided by a third-party provider for users to use. Public cloud is generally available through the Internet, can provide a variety of cloud resources, and can provide services in the entire open public network.
[0061] A private cloud is a cloud infrastructure with software and hardware resources built within a firewall, allowing departments within an organization or enterprise to share data center resources. A private cloud is a cloud infrastructure operated entirely for a specific organization. It can be administered by the organization itself or a third party, and can be located either inside or outside the organization.
[0062] A hybrid cloud refers to a cloud computing environment composed of private cloud resources and public cloud resources.
[0063] An access control policy is a policy that restricts the actions or access that a subject (e.g., a terminal device, also known as a user, or an operator) can perform on an object (e.g., resources in a cloud service) to prevent resource abuse and data leakage. Access control policies ensure that requests are only effective when the user has the appropriate permissions, ensuring that specified cloud service resources can only be accessed by specified terminals, and that specified cloud service actions can only be accessed by specified terminals, ensuring access security. Administrators can configure access control policies for a specific account in cloud services such as identity management or organization management, and use these access control policies to restrict the operating permissions of other users in the account on cloud resources.
[0064] Exemplarily, an access control policy can be a set of constraints described using a domain specific language (DSL). The access control policy can accurately describe the set of resources, operation sets, and permission or rejection conditions that are allowed or denied access. The access control policy can also be referred to as ACP. The ACP includes a cloud resource identification field (Resource), an effect field (Effect), and a request type field (Action). The cloud resource identification field is used to identify the target cloud resource, the effect field is used to identify whether to deny or allow access to the target cloud resource, and the request type field is used to identify the request type of the access request. Optionally, the ACP can also include other fields, such as a condition field (Condition), which indicates the restrictive conditions under which the constraint takes effect.
[0065] Please refer to Figure 16, which is a schematic diagram of an access control policy in an embodiment of the present application. The multiple fields of an access control policy (ACP) may include Version, Statement, Effect, Action, Resource, etc. Each field corresponds to a policy element in the ACP. The following describes each field in the ACP.
[0066] Version, an optional policy element (sting), such as "Version": "2012-10-17", specifies the version of the ACP document. A cloud provider's ACP document version can have only one value, 2012-10-17. If the ACP document does not contain a Version element, the default value is 2012-10-17.
[0067] Statement: A required element (array), such as: "Statement": [{…},{…},{…}], the main element of the policy, used to describe specific constraint rules. Each Statement element can contain multiple statements, each of which is enclosed in {}.
[0068] Effect: A mandatory element (sting), such as "Effect": "Deny". It is a component element of the Statement constraint rule. Every constraint rule must include this element. It has only two values: Allow or Deny, which respectively represent "explicit authorization" and "explicit rejection".
[0069] Action: A required element (String), such as "Action": "ec2:AttachInternetGateway". It is a component element of the Statement constraint rule. Every constraint rule must include this element. The value consists of two parts: service-name and action-name. Service-name is the namespace of the cloud service (for example, ec2 in Figure 16), and action-name is the operation name of each product (for example, AttachInternetGateway in Figure 16). The values of service-name and action-name are case-insensitive, and the operation name can contain the wildcard *.
[0070] Resource: A required element (String). You can use * to represent all resource objects, or you can use specific restrictions on the scope of resources and the project to which the resources belong. For example, the "*" in Figure 16.
[0071] It should be noted that when there are both Allow and Deny constraint statements in SCP, the Deny constraint takes precedence.
[0072] When performing policy calculation (also called verification, or authentication, etc.) on an access request and its corresponding ACP, if the effectiveness of the policy corresponding to the access request is Allow, the calculation result is true (i.e., access is allowed, which is considered a successful verification), and the authentication passes (or is called verification passes); if the policy contains the effectiveness Deny, the calculation result is false (i.e., access is denied, which is considered a verification failure), and the authentication fails (or is called verification fails).
[0073] Taking the ACP shown in Figure 16 as an example, the key elements of the Statement policy in this ACP are: "Effect": "Deny"; "Action": "ec2:AttachInternetGateway"; "ec2:CreateInternetGateway"; "golobalaccelerator:Update". This means that access requests are allowed to access all resources only if they pass the ACP's verification.
[0074] Access control policies can be mainly divided into discretionary access control (DAC) policies and mandatory access control (MAC) policies. Discretionary access control policies are used to grant permissions to users, allowing them to access or operate resources. Mandatory access control policies are used to set permission boundaries. When the cloud system receives a user's request, it first uses the mandatory access control policy to verify the user's request. If the verification passes, the user needs authorization from the discretionary access control policy; if the verification fails, the cloud system directly rejects the user's request.
[0075] It should be noted that the access control policy may also have other names, such as: access control rules, access control capabilities, service control policies, authority boundaries, authentication rules or authentication policies, etc., and the embodiments of this application do not limit this.
[0076] Access request, in the embodiments of the present application, refers to an instruction from a user to request to call a cloud service or a resource in a cloud service. For example, the access request is an Application Programming Interface (API) access request.
[0077] A service control policy (SCP) is a mandatory access control policy for organizational services that applies to identities within the organization.
[0078] Resource control policy (RCP) refers to a mandatory access control policy for resources within an organization.
[0079] Cloud management platform and infrastructure: The cloud management platform is used to manage the cloud vendor's infrastructure. The infrastructure consists of multiple cloud data centers located in different regions, where each region has at least one cloud data center. The cloud management platform can provide interfaces related to cloud computing services, such as configuration pages or application program interfaces (APIs) for tenants to access cloud services. Tenants can log in to the cloud management platform using a pre-registered account and password, and after successful login, they can select and purchase cloud services provided by the cloud data center in the predetermined region, such as object storage services, virtual machine services, container services, or other known cloud services.
[0080] Tenant: A top-level object used to manage cloud services and / or cloud resources. A tenant registers a tenant account and sets a tenant password on a cloud management platform through a local client (e.g., a browser). The local client remotely logs in to the cloud management platform using the tenant account and password. The cloud management platform provides a configuration interface or API for tenants to configure and use cloud services. As mentioned above, cloud services are specifically provided by the infrastructure managed by the cloud management platform.
[0081] An embodiment of the present application provides an access control method that can be applied to any IT system (such as a public cloud system, a private cloud system, or a hybrid cloud system, etc.) that requires organized management of resources and unified control of permissions. It uses resources within the organization, virtual instances provided by the cloud management platform, or cloud services provided by the cloud management platform as the objects of the organization's management and control strategies to control resources within the organization and deny access to identities outside the organization, thereby ensuring the security of resources within the organization.
[0082] The following describes in detail the specific implementation of the access control method provided in the embodiment of the present application using a public cloud system as an example. Other IT systems are similar and will not be described in detail for the sake of brevity.
[0083] It is understandable that when the access control method provided in the embodiments of the present application is applied to a public cloud system, it can also be referred to as an access control method based on cloud computing technology.
[0084] Currently, common cloud computing-based access control policies include: Organization Service Control Policy, Organization Tag Policy, Virtual Private Cloud (VPC) endpoint policy, or Permissions Boundary, among other methods.
[0085] Taking the organizational service control policy as an example, refer to Figure 1, which shows a schematic diagram of the organizational service control policy. Within an organizational service control policy, a service control policy (SCP) must be bound to an organization, organizational unit, or account. For example, as shown in Figure 1, Service Control Policy-1 (SCP-1) is configured for the entire organization, i.e., the root in Figure 1. SCP-1 constrains all accounts under the root. Users within any account under the root must verify SCP-1 before access is successful. SCP-2 is configured for Organizational Unit-2 (OU-2) under the root. SCP-2 constrains all accounts under OU-2. Users within any account under OU-2 must verify SCP-1 and SCP-2 before access is successful. SCP-3 is configured for Account-3 (acct-3), a subordinate account of OU-2. Any user in any subordinate account of Account-3 who initiates an API request must pass verification by SCP-1, SCP-2, and SCP-3 before successful access.
[0086] The applicant's research has found that the configuration of the aforementioned access control policies is customized. Once a policy is configured, it applies only to the bound object (organization, organizational unit, or account). To apply the policy to other objects, it must be reconfigured. Consequently, the aforementioned method suffers from cumbersome and inefficient configuration.
[0087] Based on this, an embodiment of the present application proposes an access control method based on cloud computing technology, which binds request attribute information to an access control policy. When the request attribute carried by an access request matches the request attribute information bound to the access control policy, the access control policy is used to verify the access request. Flexible configuration of access control policies is achieved, so that access control policies can adapt to complex and changing scenarios. The entry into force conditions of the access control policy are set as request attributes, so the cloud management platform can easily and accurately index the access control policy that needs to take effect. Improve the efficiency of using access control policies to verify access requests.
[0088] The following describes in detail the specific implementation of the access control method based on cloud computing technology and the cloud management platform device provided by the embodiments of the present application in conjunction with the accompanying drawings.
[0089] FIG2 illustrates a schematic diagram of the architecture of a system to which the cloud computing-based access control method provided in an embodiment of the present application can be applied. As shown in FIG2 , the system includes a cloud management platform 20 and infrastructure 1. Tenant A can log in to cloud management platform 20 via client 40 via the Internet 30 using an account and password pre-registered on cloud management platform 20, and manage cloud resources in infrastructure 1 through cloud management platform 20. Tenant A can deploy access control services for its cloud resources on cloud management platform 20. Infrastructure 1 includes multiple computing devices. For example, infrastructure 1 includes computing device 11, computing device 12, and computing device 13. Illustratively, computing device 11 includes a hardware layer and a software layer. The hardware layer includes memory 116, processor 117, network card 118, and hard disk 119. The software layer includes virtual instances 111, 112, 113, 114, ... and an operating system 115 of computing device 11. Operating system 115 includes a virtual instance manager 1151 and a cloud management platform client 1152. Virtual instance manager 1151 is used to manage multiple virtual instances and communicate with cloud management platform 20 through cloud management platform client 1152. It is worth noting that in the embodiments of the present application, the number of computing devices in the infrastructure can be one or more, and the number of cloud resources in the computing devices can be one or more, which is not limited in the embodiments of the present application.
[0090] Exemplarily, infrastructure 1 includes at least one cloud data center, such as cloud data center 100 and cloud data center 200 in FIG. 2 . Each cloud data center is provided with multiple computing devices. For example, cloud data center 100 is provided with computing device 11 and computing device 12, and cloud data center 200 is provided with computing device 13, etc. One or any combination of multiple virtual instances is deployed in at least one computing device of infrastructure 1. For example, virtual instance 111, virtual instance 112, virtual instance 113, and virtual instance 114 are deployed in computing device 11, and virtual instance 121, virtual instance 122, virtual instance 123, and virtual instance 124 are deployed in computing device 12. Multiple cloud resources of the same tenant can be provided in an organization.
[0091] Computing device 11, computing device 12 and computing device 13 can be servers. The servers can be independent physical servers or server clusters or distributed systems composed of multiple physical servers. The servers provide various cloud services, such as cloud databases, cloud computing, cloud storage and other basic cloud computing services.
[0092] The server involved in this solution may be a hardware server or may be embedded in a virtualized environment. For example, the server involved in this solution may be a virtual machine executed on a hardware server that includes one or more other virtual machines.
[0093] In the following example, a cloud management platform proposed in an embodiment of the present application is divided according to its functions. Please refer to Figure 3, which is a schematic diagram of a cloud management platform 20 in an embodiment of the present application. The cloud management platform 20 proposed in an embodiment of the present application includes: a policy configuration module 201, an access request acquisition module 202, an authentication module 203, and a permission control module 204.
[0094] Specifically, the policy configuration module 201 is used to obtain and record access control policies;
[0095] The access request acquisition module 202 is used to acquire the access request triggered by the user;
[0096] The authentication module 203 is used to detect whether the target request attribute carried by the access request matches the request attribute carried by the access control policy, and obtain a matching result;
[0097] The permission control module 204 is configured to allow or deny the access request based on the matching result and the access control policy, wherein the matching result indicates whether to further authenticate the access request using the access control policy. The authentication result of authenticating the access request using the access control policy indicates whether to allow the access request or deny the access request.
[0098] It should be noted that the above-mentioned policy configuration module 201, access request acquisition module 202, authentication module 203 and permission control module 204 can be implemented by one or more cloud services respectively, or can be implemented by one or more cloud services together, can be distributed on different servers, or can be implemented by different modules in the server, and the embodiments of the present application do not limit this. It should be understood that the above-mentioned policy configuration module 201, access request acquisition module 202, authentication module 203 and permission control module 204 can be implemented by one or more cloud services respectively, or can be implemented by one or more cloud services together, can be distributed on different servers, or can be implemented by different modules in the server, and the embodiments of the present application do not limit this.
[0099] In a possible example, the policy configuration module 201 is implemented by the access management device 21 , and the access management device 21 is used to configure and issue access control policies.
[0100] In another possible example, the access request acquisition module 202, the authentication module 203 and the authority control module 204 are implemented by the authentication device 22, and the authentication device 22 is used to obtain the access control policy and verify the access request according to the access control policy.
[0101] In another possible example, the access request acquisition module 202 is implemented as a context manager, which is used to receive the access request and extract the target request attribute carried in the access request from the access request. The context manager can pass the target request attribute to the authentication device 22.
[0102] In another possible example, the authentication module 203 includes a context manager. For example, the authentication module 203 is implemented as a Policy Decision Point (PDP) service and a context manager. The context manager is specifically used to extract target request attributes from the access request.
[0103] In another possible example, the policy configuration module 201 , the access request acquisition module 202 , the authentication module 203 , and the permission control module 204 are implemented as the same cloud service or virtual instance.
[0104] Regarding the access management device 21 and the authentication device 22, there are multiple possible implementations of the access management device 21 (or possible cloud services, or possible virtual instances, etc.), which are not limited in the embodiments of the present application. For example, the access management device 21 includes identity and access management (IAM). For another example, the access management device 21 includes trusted execution environment-measurements (TEE environment measurements), etc.
[0105] There are many possible implementations of the authentication device 22 (or possible cloud services, or possible virtual instances, etc.), which are not limited in the present embodiment. For example, the authentication device 22 includes a Policy Decision Point (PDP) service. For another example, the authentication device 22 includes access policy enforcement.
[0106] Optionally, the authentication device 22 includes the context manager. For example, the authentication device 22 and the context manager are implemented as the same cloud service or virtual instance.
[0107] Next, we will introduce an access control method based on cloud computing technology proposed in an embodiment of the present application. Please refer to Figure 4, which is a flow chart of an access control method based on cloud computing technology proposed in an embodiment of the present application. The access control method based on cloud computing technology proposed in an embodiment of the present application includes:
[0108] S1. The cloud management platform obtains and records a first access control policy configured by an administrator, where the first access control policy includes a first request attribute.
[0109] In this embodiment, the cloud management platform can obtain and record the access control policies configured by the administrator. Specifically, configuring the access control policy includes configuring at least one piece of request attribute information. The request attribute information includes one or any combination of the request attribute, the expected value of the request attribute, and the matching method for the request attribute. The expected value of the request attribute is used to match the value of the target request attribute carried in the access request. The specific matching method for matching the expected value of the request attribute with the value of the target request attribute is indicated by the matching method for the request attribute.
[0110] Take the configured access control policy as the first access control policy as an example. Specifically, configuring the first access control policy includes configuring at least one first request attribute information, where the first request attribute information includes one or any combination of the first request attribute, the expected value of the first request attribute, and the matching method of the first request attribute. The expected value of the first request attribute is used to match the value of the target request attribute carried in the access request. The specific matching method for matching the expected value of the first request attribute with the value of the target request attribute is indicated by the matching method of the first request attribute.
[0111] Furthermore, the cloud management platform can also configure multiple access control policies. For example, in addition to configuring the first access control policy, the cloud management platform also configures a second access control policy. Specifically, the cloud management platform obtains and records the second access control policy configured by the administrator, wherein configuring the second access control policy includes configuring at least one second request attribute information, and the second request attribute information includes one or any combination of a second request attribute, an expected value of the second request attribute, and a matching method for the second request attribute. And so on, this application does not limit this.
[0112] An access control policy may specifically include one or more fields: a request attribute field, an expected value field for a request attribute, a value field for a request attribute, a matching method field, an effect field, and / or a request type field. The request attribute field is used to identify the request attribute of the access request to which the access control policy is bound, the expected value field for the request attribute is used to match the expected value of the first request attribute with the value of the target request attribute, the effect field is used to identify whether the first access request is allowed or denied, and the request type field is used to identify the request type of the first access request. For example, a cloud management platform provides an interface for administrators to configure access control policies. Administrators can intuitively configure various fields of the access control policy in the interface to implement various functions of the access control policy, thereby improving the convenience of configuring the access control policy.
[0113] The following describes the request attribute information, including the request attribute, the expected value of the request attribute, and the matching method of the request attribute.
[0114] 1. Request attributes refer to the various context request attributes associated with the access request.
[0115] In one possible example, the request attributes include relevant request attributes of the initiator of the access request. The request attributes include identity information of the user sending the access request. The request attributes include, but are not limited to, identity request attributes of the user sending the access request, such as identity type, account ID, account name, or information about the organization to which the account belongs.
[0116] In one possible example, the request attributes include relevant request attributes of the destination of the access request (e.g., a resource). The request attributes include resource attributes. The request attributes include, but are not limited to, the resource identifier, the resource tag, the identifier of the organization to which the resource belongs, and the resource's location path within the organization.
[0117] In one possible example, the request attributes include request attributes related to the type of operation performed on the resource by the access request, including but not limited to: accessing resources, reading resources, storing resources, calling resources, or editing resources.
[0118] In one possible example, the request attributes also include other contextual request attributes related to the access request. For example, the request attributes include the address information of the initiator of the access request, such as the Internet Protocol (IP) address or the Media Access Control (MAC) address. Another example includes whether the access request is encrypted. The request attributes may also include request attributes related to the request path that the access request traverses.
[0119] For example, the request attributes are shown in Table 1.
[0120] Table 1
[0121] In a possible example, the request attribute includes one or any combination of the request attributes in Table 1.
[0122] Regarding the request attributes, they may also include request attributes customized by the cloud management platform. For example, the request attribute "sts:ExternalId" is the "ExternalId" parameter passed in the access request "AssumeAgency API". This embodiment of the application does not limit this.
[0123] 2. The expected value of the request attribute.
[0124] Regarding the expected value of a request attribute, for example, the request attribute "PrincipalOrgPath (the caller's location path within the organization)" can be configured as "Org-1 / Root / OU-2 / *." The request attribute information to which this request attribute belongs (for example, request attribute information #1) is bound to access control policy ACP#1. This means that the caller (or user sending the access request) of the access request for which ACP#1 is effective is located at "Org-1 / Root / OU-2 / *" within the organization. When the user at "Org-1 / Root / OU-3 / *" sends access request #2, the value of the request attribute "PrincipalOrgPath" in access request #2 is "Org-1 / Root / OU-3 / *," which is inconsistent with the expected value of "PrincipalOrgPath" in request attribute information #1 (Org-1 / Root / OU-2 / *). Therefore, access request #2 does not meet the matching rules of ACP#1 and cannot be verified using ACP#1. ACP#1 fails access request #2.
[0125] 3. Matching method of request attributes.
[0126] Regarding the matching method of request attributes, the matching method of request attributes is used to indicate the matching method (or matching rule) between the value of the target request attribute and the expected value of the request attribute. For example, in access control policy ACP#1, request attribute information #1 is bound to ACP#1, and the expected value of the request attribute "PrincipalOrgPath" in request attribute information #1 is "Org-1 / Root / OU-2 / *". The matching method of request attributes is string fuzzy matching (StringLike). The meaning of this matching method is that when string #1 (the value of the target request attribute of the access request) and string #2 (the expected value of the request attribute of the access control policy) meet the fuzzy match, the access request meets the matching rule of ACP#1, the ACP#1 is effective for the access request, and ACP#1 can be used to verify the access request; when string #1 and string #2 do not meet the fuzzy match, the access request does not meet the matching rule of ACP#1, the ACP#1 is not effective for the access request, and ACP#1 cannot be used to verify the access request.
[0127] Exemplary matching methods include any one or more of the following: fuzzy string matching, exact string matching, address range determination, or numerical value comparison. In other words, an access control policy can be configured with multiple matching methods simultaneously. The target request attributes of an access request must simultaneously meet the matching rules indicated by multiple matching methods configured in the access control policy in order for the access request to be validated using the access control policy.
[0128] Regarding the access control policy, a possible configuration method is as follows: for example, the cloud management platform displays a first menu to the administrator through the client, and the first menu is used to configure relevant items of the access control policy. For example, the first menu includes relevant options for configuring request attributes, and the request attributes are bound to the configured access control policy. As shown in Figure 5, Figure 5 is a schematic diagram of the configuration interface of a first menu in an embodiment of the present application. When a terminal device (such as an administrator) needs to configure an access control policy, the access management device can send a first menu to the terminal device. The first menu includes one or more options, each option corresponding to a request attribute information. The terminal device can select the request attribute information bound to the access control policy according to the first menu. Each option also includes multiple sub-options, and the sub-options are used to configure the request attribute information included in the request attribute information, the expected value of the request attribute, and / or the matching method of the request attribute.
[0129] Specifically, a client is run in the terminal device, and the access management device sends a first menu to the client in response to the client's request configuration instruction. The administrator obtains the first menu through the client and determines the selected request attribute information from the first menu. In Figure 5, taking the configuration of access control policy ACP#10001 as an example, the first menu provides a variety of options for configuring the request attribute information bound to ACP#10001. The request attribute information bound to ACP#10001 indicates that the access request verified by ACP#10001 needs to include the following request attributes: PrincipalAccount (account ID of the request caller): acct-1; UserAgent (name of the client application that initiates the request): chatbot#1; and, MFAPresent (whether the caller's current session identity has undergone multi-factor authentication): yes.
[0130] Furthermore, the first menu may also include configuration options for expected values. After the terminal device selects the request attribute information bound to the access control policy through the first menu, it may further configure the expected value of the request attribute in the request attribute information.
[0131] Furthermore, the first menu may further include one or more options corresponding to matching methods, so that the terminal device can select a matching method for the requested attribute in the requested attribute information according to the first menu.
[0132] It should be noted that the request attributes provided in the first menu may be all request attributes that can be collected by the access management device in the cloud management platform.
[0133] Furthermore, the cloud management platform can create access control policies using the above method. For example, according to configuration instructions from the administrator, the access control policy "ACP#1" is configured. This ACP#1 is bound to the request attribute information #1, which includes the request attribute "PrincipalAccount (the account ID of the requesting caller)" and the request attribute "ResourceUrn (the unique identifier of the resource requested for access)".
[0134] Furthermore, the cloud management platform can edit (or modify) existing access control policies. For example, for an existing access control policy "ACP#1," ACP#1 is bound to the request attributes "PrincipalAccount (the account ID of the requesting caller)" and "ResourceUrn (the unique identifier of the resource requested for access)." After receiving the configuration instructions for "ACP#1," the cloud management platform modifies the request attribute bound to "ACP#1" to "ResourceTag (the tag of the resource requested for access)."
[0135] Furthermore, after receiving multiple registration requests with different user accounts, the cloud management platform can register and record multiple user accounts based on these multiple registration requests. These multiple user accounts include the administrator's account. Based on the permissions of each user account, the cloud management platform assigns configuration permissions for different access control policies to the corresponding user account. For example, the configuration permission for the first access control policy can be assigned to the administrator's account. This enables personalized configuration and management of access control policies.
[0136] S2. The cloud management platform obtains a first access request triggered by the user. The first access request carries a target request attribute.
[0137] In this embodiment, the cloud management platform obtains a first access request triggered by a user, and the first access request carries a target request attribute. For example, a user wants to access a resource through a client, triggering an access request, and the cloud management platform obtains the access request.
[0138] In one possible implementation, a context manager in the cloud management platform obtains target request attributes from an access request. After obtaining a first access request triggered by a user, the context manager obtains all request attributes related to the first access request. These request attributes are referred to as target request attributes.
[0139] Exemplarily, the first access request may be an API access request.
[0140] S3. The cloud management platform detects whether the target request attribute matches the first request attribute, and obtains a first matching result.
[0141] In this embodiment, the cloud management platform determines, based on the target request attribute carried in the first access request, an access control policy that matches the target request attribute from one or more access control policies recorded by the cloud management platform itself.
[0142] Taking the first access control policy as an example, the cloud management platform checks whether the first request attribute in the first request attribute information included in the first access control policy matches the target request attribute. Similarly, all request attributes included in the first access control policy are matched one by one with all target request attributes carried in the first access request. Based on the matching results, the cloud management platform determines whether to use the first access control policy and validates the first access request.
[0143] The specific matching method is as follows: The cloud management platform extracts the target request attribute from the first access request. Then, based on the matching method for the first request attribute, the cloud management platform matches the expected value of the first request attribute with the value of the target request attribute to obtain a first matching result. The specific matching method is determined by the matching rules for the request attributes in the access control policy and the expected value of the request attributes. Matching methods include fuzzy string matching, exact string matching, address range determination, and numerical comparison, or any combination thereof.
[0144] If the matching result indicates a successful match, the first access control policy is used to further verify the first access request. For example, the expected value of the first request attribute of the first access control policy and the value of the target request attribute carried by the first access request meet the matching rule of the first request attribute, and the first matching result is considered to be a successful match. After the match is successful, the cloud management platform believes that the first access request can be further verified using the first access control policy, and determines whether to allow or reject the first access request based on the verification result. When the verification result indicates a successful verification, the first access request is allowed; when the verification result indicates a failed verification, the first access request is rejected. Regarding further verification, for example, if the first access control policy indicates that requests of this type should be allowed when the match is successful, the first access request is allowed; if the first access control policy indicates that requests of this type should be rejected when the match is successful, the first access request is rejected.
[0145] If the matching result indicates a match failure, the first access control policy is not used to further verify the first access request. For example, if the expected value of the first request attribute of the first access control policy and the value of the target request attribute carried in the first access request do not satisfy the matching rule of the first request attribute, the first matching result is considered a match failure. The cloud management platform continues to search for an access control policy that can be used to verify the first access request. If the cloud management platform fails to find an access control policy that can be used to verify the first access request, it is determined that the cloud management platform does not have an access control policy that can be used to verify the first access request, and the first access request is rejected.
[0146] Furthermore, when the target request attributes of the first access request include multiple request attributes, the access control policy may be used to verify the first access request only if all of the multiple request attributes included in the target request attributes successfully match the multiple matching results of the access control policy. If even one of the multiple matching results fails to match, the access control policy may not be used to verify the first access request.
[0147] Furthermore, when the cloud management platform uses multiple access control policies to verify the first access request, the cloud management platform needs to determine whether to allow the first access request or reject the first access request based on the verification results corresponding to each access control policy. Specifically, after receiving the first access request, the cloud management platform extracts the target request attributes included in the first access request. Then, based on the target request attributes, it matches the multiple access control policies recorded by the cloud management platform to obtain multiple matching results. The cloud management platform determines multiple access control policies whose matching results are successful, and then uses the multiple access control policies (the multiple access control policies whose matching results are successful) to further verify the first access request, and obtains multiple verification results corresponding to the multiple access control policies. When the verification results of the multiple access control policies are all successful, the first access request is allowed; when any one or more of the verification results of the multiple access control policies are failed, the first access request is rejected.
[0148] For example, using the first access control policy and the second access control policy as examples, the cloud management platform matches the target request attributes with multiple request attributes included in the first access control policy (e.g., the first request attributes) to obtain a first match result. The cloud management platform then matches the target request attributes with multiple request attributes included in the second access control policy (e.g., the second request attributes) to obtain a second match result. Based on the first match result, the cloud management platform then determines whether to use the first access control policy to verify the first access request; and based on the second match result, the cloud management platform determines whether to use the second access control policy to verify the first access request. Specifically, if the first match result indicates a successful match, the first access request is verified using the first access control policy; if the first match result indicates a failed match, the first access request is not verified using the first access control policy. If the second match result indicates a successful match, the second access control policy is used to verify the first access request; if the second match result indicates a failed match, the second access control policy is not used to verify the first access request. If the first match result indicates a successful match, and the second match result indicates a successful match, the cloud management platform verifies the first access request using both the first access control policy and the second access control policy. Based on the two verification results, it is determined whether to allow the first access request or deny the first access request. If both verification results are successful, the first access request is allowed; if either or both verification results are failed, the first access request is denied.
[0149] In an embodiment of the present application, the request attribute information is bound to the access control policy. When the request attribute carried by the access request matches the request attribute information bound to the access control policy, the access control policy is used to verify the access request. This enables flexible configuration of the access control policy, allowing the access control policy to adapt to complex and changing scenarios. The entry-into-force condition of the access control policy is set as the request attribute. Therefore, the cloud management platform can easily and accurately index the access control policy that needs to be effective. This improves the efficiency of using access control policies to verify access requests.
[0150] The following further describes how the cloud management platform obtains the access control policy used to match the target request attributes. For ease of description, the access control policy used to match the target request attributes is referred to as the target access control policy.
[0151] In a possible implementation, please refer to FIG6 , which is a flowchart of determining an access control policy to be matched in an embodiment of the present application.
[0152] D1. The authentication device obtains the target request attributes.
[0153] In this embodiment, the authentication device in the cloud management platform obtains the target request attributes of the first access request through the context manager in the cloud management platform. Specifically, after receiving the first access request from the terminal device (user), the context manager obtains all request attributes related to the first access request. These request attributes are referred to as target request attributes. The context manager then sends the target request attributes (which may include one or more target request attributes) to the authentication device.
[0154] D2. The authentication device sends the target request attributes to the access management device.
[0155] In this embodiment, after the authentication device obtains the target request attributes, it needs to obtain the access control policy used to verify the first access request. For ease of description, the access control policy used to verify the first access request is referred to as the target access control policy. The target access control policy may include one or more access control policies, for example, a first access control policy and a second access control policy.
[0156] Specifically, the authentication device sends the target request attributes to the access management device, and the access management device determines the target access control policy according to the target request attributes.
[0157] D3. The access management device determines a target access control policy corresponding to the target request attribute based on the target request attribute.
[0158] In this embodiment, the access management device determines a target access control policy from one or more access control policies configured within the access management device based on the target request attribute. Specifically, the target access control policy satisfies the following conditions: the value of the target request attribute and the expected value of the request attribute included in the target access control policy meet the matching rule indicated by the matching method for the request attribute in the target access control policy. In other words, the request attribute included in the target access control policy matches the target request attribute, resulting in a successful match.
[0159] D4. The access management device sends the target access control policy to the authentication device.
[0160] In this embodiment, after the access management device determines the target access control policy, the access management device sends the target access control policy to the authentication device.
[0161] D5. The authentication device verifies the first access request using the target access control policy.
[0162] In this embodiment, the authentication device verifies the first access request against the target access control policy. Based on the verification result, the authentication device determines whether to allow the first access request. Specifically, if the authentication device successfully verifies the first access request against the target access control policy, the first access request is allowed; if the authentication device fails to verify the first access request against the target access control policy, the first access request is denied.
[0163] In another possible implementation, the cloud management platform filters out a first set from one or more access control policies recorded by the cloud management platform itself based on the target request attributes. The attribute type of the request attribute information bound to the access control policies included in the first set is consistent with the attribute type of the target request attributes. Then, the access control policies included in the first set are used to further match the target request attributes of the first access request to obtain a matching result. Then, based on the matching result, it is determined whether to use the access control policy to verify the first access request to obtain a verification result. Finally, based on the verification result, it is determined whether to allow or deny the first access request. For example, please refer to Figure 7, which is an access control method based on cloud computing technology proposed in an embodiment of the present application, and also includes:
[0164] G1. The authentication device extracts the target request attribute carried in the first access request.
[0165] Step G1 is consistent with the aforementioned step S1 and will not be described in detail here.
[0166] G2. Determine a first set from one or more access control policies based on the target request attribute, where the attribute type of the request attribute information bound to the first set is consistent with the attribute type of the target request attribute.
[0167] In this embodiment, after obtaining the target request attribute, the authentication device selects a first set from one or more configured access control policies. The first set includes request attributes bound to access control policies whose attribute types are consistent with the target request attribute.
[0168] For example, the first set includes ACP#10001, ACP#10002, and ACP#10003. Please refer to Figures 8, 9, and 10. Figure 8 is a schematic diagram of an access control policy in an embodiment of the present application, Figure 9 is a schematic diagram of another access control policy in an embodiment of the present application, and Figure 10 is a schematic diagram of yet another access control policy in an embodiment of the present application.
[0169] The request attribute information bound by ACP#10001 is as follows: Identity Attribute: the account ID of the requesting caller, and Resource Attribute: the organization ID of the resource to which access is requested. The request attribute information bound by ACP#10002 is as follows: Identity Attribute: the account ID of the requesting caller, and Resource Attribute: the organization ID of the resource to which access is requested. The request attribute information bound by ACP#10003 is as follows: Identity Attribute: the account ID of the requesting caller, Resource Attribute: the organization ID of the resource to which access is requested, and Environment Attribute: whether the request is sent using SSL.
[0170] The authentication device obtains target request attributes associated with the first access request #1, including: identity attributes (the account ID of the requesting caller) and resource attributes (the organization ID of the resource to which access is requested). Based on the attribute type of the target request attributes, the authentication device determines ACP#10001 and ACP#10002 from ACP#10001, ACP#10002, and ACP#10003, which have the same attribute type as the target request attributes. ACP#10001 and ACP#10002 are defined as a first set.
[0171] G3. Match the target request attribute according to the matching rule associated with each access control policy in the first set, where the matching rule is indicated by the matching mode included in the access control policy.
[0172] In this embodiment, the target request attributes are matched based on the matching rules associated with each access control policy in the first set and the expected values of the request attributes in each access control policy. Access control policies that meet the matching rules are then selected as the target access control policies. In other words, the access control policies that successfully match the rules are selected as the target access control policies. The matching rules are indicated by the matching mode of the access control policies.
[0173] Taking ACP#10001 and ACP#10002 as examples, as shown in Figures 8 and 9, the matching method for ACP#10001 is "string fuzzy matching," and the matching method for ACP#10002 is "string fuzzy matching." In ACP#10001, the expected value of the requester's account ID is "Acct-3," and the expected value of the organization ID of the resource being accessed is "OU-3." In ACP#10002, the expected value of the requester's account ID is "Acct-4," and the expected value of the organization ID of the resource being accessed is "OU-4." Based on the matching rule "string fuzzy matching" indicated by the matching method, the values of the target request attributes associated with first access request #1 are obtained. The target request attributes associated with first access request #1 include: the requester's account ID, "Acct-3," and the organization ID of the resource being accessed, "OU-3." Check if the target request attribute value satisfies the expected value of the request attribute of ACP#10001 and ACP#10002 respectively.
[0174] G4. Determine a target access control policy from the first set, wherein the expected value of the request attribute indicated by the target access control policy and the value of the target request attribute satisfy a matching rule of the target access control policy.
[0175] For example, take ACP#10001 and ACP#10002 shown in Figures 8 and 9. The values of the target request attributes associated with first access request #1 include: the account ID of the requesting caller, "Acct-3," and the organization ID of the resource to which access is requested, "OU-3." For these target request attributes, the access control policy that meets the matching criteria is ACP#10001. Therefore, ACP#10001 is used as the target access control policy for first access request #1. ACP#10001 verifies first access request #1. If verification passes, first access request #1 is permitted; if verification fails, first access request #1 is denied.
[0176] In the embodiment of the present application, the target access control policy is conveniently and accurately indexed through the target request attribute associated with the first access request, thereby effectively improving the authentication efficiency and enhancing the user experience.
[0177] In conjunction with the above embodiments, an application scenario proposed in an embodiment of the present application is described below. Please refer to Figure 11, which is a schematic diagram of an application scenario in an embodiment of the present application. The application scenario includes: an administrator (for example, a client), an IAM (as an access management device), a PDP (as an authentication device), an API gateway (as a context manager), and a user (for example, a terminal device). The details are as follows:
[0178] F1. The administrator creates an access control policy through IAM.
[0179] Specifically, the administrator creates an access control policy through the IAM client, or edits and modifies an existing access control policy.
[0180] F2. The administrator binds the access control policy to the request attribute information through IAM.
[0181] Specifically, during the process of creating an access control policy, the access control policy is bound to the request attribute information through IAM. Alternatively, the bound request attribute information of an already created access control policy can be edited and modified.
[0182] Furthermore, you can configure the expected values of request attributes and matching methods for the access control policy.
[0183] F3. The user sends a first access request (API request) to the API gateway.
[0184] F4. The PDP obtains and sends target request attributes related to the first access request.
[0185] Specifically, the PDP obtains all request attribute information related to the first access request, and uses the request attribute information as the target request attribute.
[0186] F5. The PDP sends the target request attributes to the IAM, which determines the target access control policy based on the target request attributes. The effective target access control policy is, for example, the first access control policy, that is, the first access control policy matches the first access request successfully.
[0187] F6. IAM sends the target access control policy to PDP.
[0188] F7. The PDP verifies the first access request using the target access control policy.
[0189] F8. PDP returns the verification result to the API gateway.
[0190] F9. The API gateway allows or rejects the first access request based on the verification result.
[0191] To implement the functions described in the above embodiments, the access management device and authentication device include hardware structures and / or software modules that perform the corresponding functions. Those skilled in the art will readily appreciate that, in conjunction with the various exemplary units and method steps described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented in hardware or by computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.
[0192] Next, the cloud management platform proposed in the embodiment of the present application will be introduced with reference to the accompanying drawings, as shown in FIG12 , which is a structural diagram of a cloud management platform 20 in the embodiment of the present application.
[0193] The cloud management platform 20 is used to manage the infrastructure. The infrastructure includes at least one cloud data center. Each cloud data center is equipped with multiple servers. The cloud management platform 20 includes:
[0194] The policy configuration module 201 is configured to obtain and record a first access control policy configured by an administrator, wherein configuring the first access control policy includes configuring at least one first request attribute information, and the first request attribute information includes one or any combination of a first request attribute, an expected value of the first request attribute, and a matching method for the first request attribute;
[0195] An access request acquisition module 202 is configured to acquire a first access request triggered by a user, the first access request carrying a target request attribute;
[0196] The authentication module 203 is configured to detect whether the target request attribute matches the first request attribute, and obtain a first matching result.
[0197] In one possible implementation, the cloud management platform 20 further includes:
[0198] The permission control module 204 is configured to allow or deny the first access request based on the first matching result and a first access control policy recorded by itself.
[0199] In one possible implementation, the policy configuration module 201 is further configured to obtain and record a second access control policy configured by the administrator, wherein configuring the second access control policy includes configuring at least one second request attribute information, and the second request attribute information includes one or any combination of a second request attribute, an expected value of the second request attribute, and a matching method of the second request attribute;
[0200] The authentication module 203 is further configured to detect whether the target request attribute matches the second request attribute, and obtain a second matching result.
[0201] In a possible implementation, the permission control module 204 is further configured to allow or deny the first access request based on the first matching result, the first access control policy recorded by itself, the second matching result, and the second access control policy recorded by itself.
[0202] In a possible implementation, the authentication module 203 is specifically configured to extract a target request attribute from the first access request;
[0203] The authentication module 203 is further configured to match the expected value of the first request attribute with the value of the target request attribute according to the matching mode of the first request attribute to obtain a first matching result.
[0204] In a possible implementation, the matching method includes one or any combination of string fuzzy matching, string complete matching, address range determination, and numerical value comparison.
[0205] In a possible implementation, the first access control policy includes a request attribute field, an expected value field of the request attribute, a value field of the request attribute, a matching method field, an effect field, and / or a request type field, wherein:
[0206] The request attribute field is used to identify the request attribute of the first access request.
[0207] The expected value field of the request attribute is used to match the expected value of the request attribute with the value of the request attribute.
[0208] The effect field is used to indicate whether the first access request is allowed or denied.
[0209] The request type field is used to identify the request type of the first access request.
[0210] In one possible implementation, the request attributes include user identification ID, user identity ID, user organization ID, user location path in the organization, tags carried by the user, user identity type, whether the user identity passes multi-factor authentication, user identity and access management ID IAM ID, user client application name, ID of the resource requested for access, organization ID of the resource requested for access, location path in the organization of the resource requested for access, account ID of the resource requested for access, source Internet Protocol IP address of the request, source virtual private cloud VPC of the request, VPC terminal node through which the request passes, whether the request is forwarded via cloud service, cloud service forwarding link of the request, or whether the request is sent using Secure Sockets Layer SSL, or any combination thereof.
[0211] In a possible implementation, the cloud management platform 20 further includes:
[0212] The registration module 205 is used to obtain multiple registration requests carrying different user accounts;
[0213] The registration module 205 is further configured to register and record multiple user accounts according to the multiple registration requests, wherein the multiple user accounts include an administrator's account;
[0214] The registration module 205 is further configured to assign the configuration authority of the first access control policy to the administrator's account.
[0215] The policy configuration module 201, access request acquisition module 202, authentication module 203, permission control module 204, and registration module 205 can all be implemented via software or hardware. For example, the implementation of the policy configuration module 201 will be described below using the policy configuration module 201 as an example. Similarly, the implementation of the access request acquisition module 202, authentication module 203, permission control module 204, and registration module 205 can refer to the implementation of the policy configuration module 201.
[0216] As an example of a software functional unit, the policy configuration module 201 may include code running on a computing instance. The computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Furthermore, the computing instance may be one or more. For example, the policy configuration module 201 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including one data center or multiple geographically close data centers. Typically, a region may include multiple AZs.
[0217] Similarly, multiple hosts / virtual machines / containers running the code can be distributed within the same virtual private cloud (VPC) or across multiple VPCs. Typically, a VPC is set up within a region. Cross-region communication between two VPCs within the same region, or between VPCs in different regions, requires a communication gateway within each VPC to interconnect the VPCs.
[0218] As an example of a hardware functional unit, the policy configuration module 201 may include at least one computing device, such as a server. Alternatively, the policy configuration module 201 may be implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0219] The multiple computing devices included in the policy configuration module 201 can be distributed in the same region or in different regions. The multiple computing devices included in the policy configuration module 201 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the policy configuration module 201 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of servers, ASICs, PLDs, CPLDs, FPGAs, GALs, and other computing devices.
[0220] It should be noted that, in other embodiments, the policy configuration module 201 can be used to execute any step in the access control method based on cloud computing technology, the processing module can be used to execute any step in the access control method based on cloud computing technology, and the sending module can be used to execute any step in the access control method based on cloud computing technology. The steps that the policy configuration module 201, the access request acquisition module 202, the authentication module 203, the permission control module 204 and the registration module 205 are responsible for implementing can be specified as needed. The full functions of the access management device are realized by respectively implementing different steps in the access control method based on cloud computing technology through the policy configuration module 201, the access request acquisition module 202, the authentication module 203, the permission control module 204 and the registration module 205.
[0221] 3 , both access management device 21 and authentication device 22 can be implemented via software or hardware. For example, the following describes the implementation of access management device 21. Similarly, the implementation of authentication device 22 can refer to the implementation of access management device 21.
[0222] As an example of a software functional unit, the access management device 21 may include a code running on a computing instance. The computing instance may be at least one of a physical host (computing device), a virtual machine, a container, and other computing devices. Furthermore, the above-mentioned computing device may be one or more. For example, the access management device 21 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the application may be distributed in the same region or in different regions. The multiple hosts / virtual machines / containers used to run the code may be distributed in the same AZ or in different AZs, and each AZ includes a data center or multiple data centers with close geographical locations. Generally, a region may include multiple AZs.
[0223] Similarly, the multiple hosts / virtual machines / containers running the code can be distributed within the same VPC or across multiple VPCs. Typically, a VPC is located within a region. Cross-region communication between two VPCs within the same region, or between VPCs in different regions, requires a communication gateway within each VPC to interconnect the VPCs.
[0224] As an example of a hardware functional unit, the access management device 21 may include at least one computing device, such as a server. Alternatively, the access management device 21 may be implemented using an ASIC or a PLD. The PLD may be implemented using a CPLD, FPGA, GAL, or any combination thereof.
[0225] The multiple computing devices included in the access management device 21 can be distributed in the same region or in different regions. The multiple computing devices included in the access management device 21 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the access management device 21 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of servers, ASICs, PLDs, CPLDs, FPGAs, GALs, and other computing devices.
[0226] This application also provides a computing device 1300. As shown in FIG13 , FIG13 is a schematic diagram of the structure of a computing device 1300 in an embodiment of this application. Computing device 1300 includes a bus 1302, a processor 1304, a memory 1306, and a communication interface 1308. Processor 1304, memory 1306, and communication interface 1308 communicate with each other via bus 1302. Computing device 1300 can be a server or a terminal device. It should be understood that this application does not limit the number of processors and memories in computing device 1300.
[0227] Bus 1302 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, among others. Buses may be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG13 shows a single line, but this does not imply a single bus or type of bus. Bus 1304 may include a path for transmitting information between various components of computing device 1300 (e.g., memory 1306, processor 1304, and communication interface 1308).
[0228] The processor 1304 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0229] The memory 1306 may include volatile memory, such as random access memory (RAM). The processor 1304 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).
[0230] Memory 1306 stores executable program code. Processor 1304 executes the executable program code to implement the functions of the aforementioned policy configuration module, access request acquisition module, authentication module, permission control module, and registration module, thereby implementing the access control method based on cloud computing technology. In other words, memory 1306 stores instructions for executing the access control method based on cloud computing technology.
[0231] Alternatively, the memory 1306 stores executable code, and the processor 1304 executes the executable code to implement the functions of the aforementioned access management device and authentication device, thereby implementing the access control method based on cloud computing technology. In other words, the memory 1306 stores instructions for executing the access control method based on cloud computing technology.
[0232] The communication interface 1303 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 1300 and other devices or a communication network.
[0233] Embodiments of the present application also provide a computing device cluster. The computing device cluster includes at least one computing device. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smartphone.
[0234] As shown in Figure 14, Figure 14 is a schematic diagram of the structure of a computing device cluster in an embodiment of the present application. The computing device cluster includes at least one computing device 1300. The memory 1306 of one or more computing devices 1300 in the computing device cluster may store the same instructions for executing the access control method based on cloud computing technology.
[0235] In some possible implementations, the memory 1306 of one or more computing devices 1300 in the computing device cluster may also store partial instructions for executing the access control method based on cloud computing technology. In other words, the combination of one or more computing devices 1300 can jointly execute instructions for executing the access control method based on cloud computing technology.
[0236] It should be noted that the memory 1306 in different computing devices 1300 in the computing device cluster can store different instructions, each used to execute a portion of the functions of the access management device. In other words, the instructions stored in the memory 1306 in different computing devices 1300 can implement the functions of one or more of the policy configuration module 201, access request acquisition module 202, authentication module 203, permission control module 204, and registration module 205.
[0237] In some possible implementations, one or more computing devices in a computing device cluster may be connected via a network. The network may be a wide area network or a local area network, etc. FIG15 shows a possible implementation. As shown in FIG15 , two computing devices 1300A and 1300B are connected via a network. Specifically, the connection to the network is made via a communication interface in each computing device. In this type of possible implementation, the memory 1306 in the computing device 1300A stores instructions for executing the functions of the policy configuration module 201 and the registration module 205. At the same time, the memory 1306 in the computing device 1300B stores instructions for executing the functions of the access request acquisition module 202, the authentication module 203, and the authority control module 204.
[0238] The connection method between the computing device clusters shown in Figure 15 may be considered to consider that the access control method based on cloud computing technology provided by this application needs to process a large number of access requests. Therefore, it is considered to delegate the functions implemented by the access request acquisition module, authentication module, and registration module to the computing device 1300B.
[0239] It should be understood that the functionality of the computing device 1300A shown in FIG15 may also be implemented by multiple computing devices 1300. Similarly, the functionality of the computing device 1300B may also be implemented by multiple computing devices 1300.
[0240] The present application also provides another computing device cluster. The connection relationship between the computing devices in this computing device cluster can be similar to the connection methods of the computing device clusters shown in Figures 14 and 15 . However, the memory 1306 in one or more computing devices 1300 in this computing device cluster can store the same instructions for executing the access control method based on cloud computing technology.
[0241] In some possible implementations, the memory 1306 of one or more computing devices 1300 in the computing device cluster may also store partial instructions for executing the access control method based on cloud computing technology. In other words, the combination of one or more computing devices 1300 can jointly execute instructions for executing the access control method based on cloud computing technology.
[0242] It should be noted that the memory 1306 in different computing devices 1300 in the computing device cluster can store different instructions for executing partial functions of the cloud management platform. In other words, the instructions stored in the memory 1306 in different computing devices 1300 can implement the functions of one or more of the access management device and the authentication device.
[0243] The present application also provides a computer program product including instructions. The computer program product may be software or a program product including instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on at least one computing device, it causes the at least one computing device to execute an access control method based on cloud computing technology, or an access control method based on cloud computing technology.
[0244] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to execute an access control method based on cloud computing technology, or instruct the computing device to execute an access control method based on cloud computing technology.
[0245] The method steps in the embodiments of the present application can be implemented in hardware or in software instructions that can be executed by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, registers, hard disk, mobile hard disk, CD-ROM or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. The storage medium can also be an integral part of the processor. The processor and storage medium can be located in an ASIC. In addition, the ASIC can be located in a base station or a terminal. The processor and storage medium can also exist in a base station or a terminal as discrete components.
[0246] In the above embodiments, all or part of the embodiments may be implemented using software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. A computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, all or part of the processes or functions of the embodiments of the present application are performed. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable device. The computer program or instructions may be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions may be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media, such as floppy disks, hard disks, or magnetic tapes; optical media, such as digital video disks; or semiconductor media, such as solid-state drives. The computer-readable storage medium may be a volatile or nonvolatile storage medium, or may include both volatile and nonvolatile types of storage media.
[0247] In the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.
[0248] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the protection scope of the technical solutions of the various embodiments of the present invention.
Claims
1. An access control method based on cloud computing technology, characterized in that: The method is applied to a cloud management platform, the cloud management platform is used to manage infrastructure, the infrastructure includes at least one cloud data center, each cloud data center is provided with a plurality of servers, and the method includes: The cloud management platform obtains and records a first access control policy configured by an administrator, wherein configuring the first access control policy includes configuring at least one first request attribute information, and the first request attribute information includes one or any combination of the first request attribute, an expected value of the first request attribute, and a matching method of the first request attribute; The cloud management platform obtains a first access request triggered by a user, where the first access request carries a target request attribute; The cloud management platform detects whether the target request attribute matches the first request attribute, and obtains a first matching result.
2. The method according to claim 1, characterized in that The method further comprises: The cloud management platform allows or denies the first access request according to the first matching result and the first access control policy recorded by itself.
3. The method according to claim 1, characterized in that The method further comprises: The cloud management platform obtains and records a second access control policy configured by the administrator, wherein configuring the second access control policy includes configuring at least one second request attribute information, and the second request attribute information includes one or any combination of the second request attribute, the expected value of the second request attribute, and the matching method of the second request attribute; The cloud management platform detects whether the target request attribute matches the second request attribute to obtain a second matching result.
4. The method according to claim 3, characterized in that The method further comprises: The cloud management platform allows or denies the first access request based on the first matching result, the first access control policy recorded by itself, the second matching result, and the second access control policy recorded by itself.
5. The method according to any one of claims 1 to 4, characterized in that The cloud management platform detects whether the target request attribute matches the first request attribute, and obtains the first matching result, specifically including: The cloud management platform extracts the target request attribute in the first access request; The cloud management platform matches the expected value of the first request attribute with the value of the target request attribute according to the matching method of the first request attribute to obtain the first matching result.
6. The method according to any one of claims 1 to 5, characterized in that The matching method includes one or any combination of string fuzzy matching, string complete matching, address range judgment, and numerical value comparison.
7. The method according to any one of claims 1 to 6, characterized in that The first access control policy includes a request attribute field, an expected value field of the request attribute, a value field of the request attribute, a matching method field, an effect field, and a request type field, wherein the request attribute field is used to identify the request attribute of the first access request, the expected value field of the request attribute is used to match the expected value of the request attribute and the value of the request attribute, the effect field is used to identify whether to allow or deny the first access request, and the request type field is used to identify the request type of the first access request.
8. The method according to any one of claims 1 to 7, characterized in that The request attributes include: user identification ID, user identity identifier, user organization ID, user location path in the organization, tags carried by the user, user identity type, whether the user identity has passed multi-factor authentication, user identity and access management identifier IAM ID, user client application name, identifier of the resource requested for access, organization ID of the resource requested for access, location path in the organization of the resource requested for access, account ID of the resource requested for access, source Internet Protocol IP address of the request, source virtual private cloud VPC of the request, VPC terminal node through which the request passes, whether the request is forwarded via a cloud service, the cloud service forwarding link of the request, or whether the request is sent using Secure Sockets Layer SSL, one or any combination thereof.
9. The method according to any one of claims 1 to 8, characterized in that Before the cloud management platform obtains and records the first access control policy configured by the administrator, the method further includes: The cloud management platform obtains multiple registration requests carrying different user accounts; The cloud management platform registers and records a plurality of user accounts respectively according to the plurality of registration requests, wherein the plurality of user accounts includes the account of the administrator; The cloud management platform assigns the configuration authority of the first access control policy to the administrator's account.
10. A cloud management platform, characterized in that: The cloud management platform is used to manage infrastructure, the infrastructure includes at least one cloud data center, each cloud data center is provided with a plurality of servers, and the cloud management platform includes: a policy configuration module, configured to obtain and record a first access control policy configured by an administrator, wherein configuring the first access control policy includes configuring at least one first request attribute information, wherein the first request attribute information includes one or any combination of the first request attribute, an expected value of the first request attribute, and a matching method of the first request attribute; An access request acquisition module, used to acquire a first access request triggered by a user, wherein the first access request carries a target request attribute; The authentication module is used to detect whether the target request attribute matches the first request attribute, and obtain a first matching result.
11. The cloud management platform according to claim 10, characterized in that: The cloud management platform also includes: The permission control module is used to allow or deny the first access request according to the first matching result and the first access control policy recorded by itself.
12. The cloud management platform according to claim 10, characterized in that: The policy configuration module is further used to obtain and record a second access control policy configured by an administrator, wherein configuring the second access control policy includes configuring at least one second request attribute information, and the second request attribute information includes one or any combination of the second request attribute, the expected value of the second request attribute, and the matching method of the second request attribute; The authentication module is further used to detect whether the target request attribute matches the second request attribute to obtain a second matching result.
13. The cloud management platform according to claim 12, characterized in that: The permission control module is further used to allow or deny the first access request according to the first matching result, the first access control policy recorded by itself, the second matching result, and the second access control policy recorded by itself.
14. The cloud management platform according to any one of claims 10 to 13, characterized in that: The authentication module is specifically used to extract the target request attribute in the first access request; The authentication module is further configured to match the expected value of the first request attribute with the value of the target request attribute according to the matching mode of the first request attribute to obtain the first matching result.
15. The cloud management platform according to any one of claims 10 to 14, characterized in that: The matching method includes one or any combination of string fuzzy matching, string complete matching, address range judgment, and numerical value comparison.
16. The cloud management platform according to any one of claims 10 to 15, characterized in that: The first access control policy includes a request attribute field, an expected value field of the request attribute, a value field of the request attribute, a matching method field, an effect field, and a request type field, wherein the request attribute field is used to identify the request attribute of the first access request, the expected value field of the request attribute is used to match the expected value of the request attribute and the value of the request attribute, the effect field is used to identify whether to allow or deny the first access request, and the request type field is used to identify the request type of the first access request.
17. The cloud management platform according to any one of claims 10 to 16, characterized in that: The request attributes include user identification ID, user identity identifier, user organization ID, user location path in the organization, tags carried by the user, user identity type, whether the user identity passes multi-factor authentication, user identity and access management identifier IAM ID, user client application name, identifier of the resource requested for access, organization ID of the resource requested for access, location path in the organization of the resource requested for access, account ID of the resource requested for access, source Internet Protocol IP address of the request, source virtual private cloud VPC of the request, VPC terminal node through which the request passes, whether the request is forwarded via a cloud service, the cloud service forwarding link of the request, or whether the request is sent using Secure Sockets Layer SSL, or any combination thereof.
18. The cloud management platform according to any one of claims 10 to 17, characterized in that: The cloud management platform also includes: A registration module, used to obtain multiple registration requests carrying different user accounts; The registration module is further used to respectively register and record multiple user accounts according to the multiple registration requests, wherein the multiple user accounts include the administrator's account; The registration module is further used to assign the configuration authority of the first access control policy to the administrator's account.
19. A computing device cluster, characterized in that: comprising at least one computing device, each computing device comprising a processor and a memory; The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to claims 1-9.
20. A computer program product comprising instructions, characterized in that When the instructions are executed by a computing device cluster, the computing device cluster is caused to perform the method according to claims 1 to 9.
21. A computer-readable storage medium, characterized in that: The method comprises computer program instructions, and when the computer program instructions are executed by a computing device cluster, the computing device cluster performs the method according to claims 1-9.
Citation Information
Patent Citations
Access control method based on cloud computing technology and related device
CN118611889A
An access control method and apparatus for access control
CN109165516A
User access processing method, device and equipment
CN110784433A
Multi-tenant access control method and device and computer readable storage medium
CN110855599A
Data access control method and device, equipment and storage medium
CN114218605A
Cited By
Access control method, access credential generation method and access control system
CN119210911A
