Access control method based on cloud computing technology and related device

By binding request attribute information and access control policies in the cloud management platform, flexible access control to cloud computing technology is achieved, solving the problems of cumbersome configuration and low efficiency in the existing technology, and improving the flexibility and verification of access control. efficiency.

CN118611889APending Publication Date: 2024-09-06HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202310179512.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

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.

Method used

By obtaining and recording the access control policy configured by the administrator in the cloud management platform, the request attribute information is bound to the access control policy. When the request attribute carried by the access request matches the policy, the policy is used to verify the request to achieve flexible configuration. and precise indexing.

Benefits of technology

It improves the flexibility and verification efficiency of access control policies, simplifies the configuration process, and improves the reliability of authentication for user-triggered access requests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118611889A
    Figure CN118611889A
Patent Text Reader

Abstract

The invention provides an access control method based on a cloud computing technology and a related device, the method is applied to a cloud management platform, the method comprises the following steps: the cloud management platform obtains and records a first access control strategy configured by an administrator, the configuration of the first access control strategy comprises the configuration of at least one piece of first request attribute information, the first request attribute information comprises a first request attribute; the cloud management platform obtains a first access request triggered by a user, wherein the first access request carries a target request attribute; the cloud management platform detects whether the target request attribute is matched with the first request attribute to obtain a first matching result; and flexible configuration of the access control strategy is realized, so that the access control strategy can adapt to complex and changeable scenes. The effective condition of the access control strategy is set as the request attribute, so that the cloud management platform can conveniently and accurately index the access control strategy needing to take effect. And the efficiency of verifying the access request by using the access control strategy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] 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

[0002] Cloud systems can provide consumers with resources such as networks, network bandwidth, servers, storage, or applications as services. Access control policies are usually used to ensure security in cloud systems. Specifically, by configuring access control policies, it is ensured that the operations or accesses of subjects (such as users or terminal devices) in the cloud system to objects (such as cloud resources) comply with the access control policies to prevent resource abuse and data leakage.

[0003] Access control policies can be mainly divided into: Discretionary Access Control (DAC) policy and Mandatory Access Control (MAC) policy. Discretionary access control policy is used to grant permissions to users so that users can access or operate resources. Mandatory access control policy is 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.

[0004] 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 or account. The applicant's research found that the configuration of the above 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. Summary of the invention

[0005] In a 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, and the cloud management platform is used to manage infrastructure, wherein the infrastructure includes at least one cloud data center, and 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 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 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.

[0006] Specifically, the request attribute information refers to various types of context attribute information associated with the access request.

[0007] 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. Flexible configuration of the access control policy is achieved so that the access control policy can 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 take effect. Improve the efficiency of using the access control policy to verify access requests.

[0008] In combination with the first aspect, in a possible implementation manner, the cloud management platform allows or denies the first access request according to the first matching result and a first access control policy recorded by the cloud management platform.

[0009] 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 rejected.

[0010] 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 a request attribute included in the access control policy that 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.

[0011] In combination with the first aspect, in a possible implementation method, 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 a second request attribute, an expected value of the second request attribute, and a 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.

[0012] Specifically, the cloud management platform can also configure multiple access control policies. In the process of verifying the first access request triggered by the user, the cloud management platform can also detect whether the request attribute associated with each access control policy in the multiple access control policies matches the target request attribute. Through the above method, the implementation flexibility of configuring access control policies is improved, and the authentication reliability of the first access request triggered by the user is improved.

[0013] 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.

[0014] 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, according to the matching result between each access control policy and the target request attribute in the multiple access control policies that match the target request attributes, it is determined whether to allow the first access request or deny 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 policies 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 denies the first access request based on the first matching result (the matching result between the first request attribute included in the first access control policy and the target request attribute), the first access control policy, the second matching result (the matching result between the second request attribute included in the second access control policy and the target request attribute), 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.

[0015] 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 to obtain 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.

[0016] Specifically, when the cloud management platform uses the first access control policy to authenticate the first access request, the cloud management platform extracts the target request attribute from the first access request. Then, according to the matching method of the first request attribute included in the first access control policy, the expected value of the first request attribute and the value of the target request attribute are matched to obtain a first matching result. In the process of configuring the access control policy, the matching rules for the access request can be set by configuring the matching method of the request attribute and the expected value of the request attribute, thereby improving the convenience of configuration.

[0017] In conjunction with the first aspect, in a possible implementation, the matching method includes one or any combination of string fuzzy matching, string complete matching, address range judgment, and comparison of numerical values. In other words, the access control policy can be configured with multiple matching methods at the same time. When the access control policy is configured with multiple matching methods, the target request attribute of the access request needs to simultaneously meet the matching rules indicated by the multiple matching methods configured by the access control policy before the access control policy can be used to verify the access request.

[0018] In combination with the first aspect, 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 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.

[0019] 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.

[0020] 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 of the resource requested for access in the organization, 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. The access control policy in the embodiment of the present application can support the verification of multiple request attributes of the access request, thereby improving the implementation flexibility of the solution.

[0021] 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.

[0022] 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 permission of the access control policy. For example, the configuration permission of the first access control policy is assigned to the administrator account. Furthermore, the cloud management platform can further split the configuration permission 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 is implemented, user experience is improved, and the security of the cloud management platform is ensured.

[0023] In a second aspect, an embodiment of the present application proposes a cloud management platform, which is used to manage infrastructure, the infrastructure includes at least one cloud data center, each cloud data center is provided with multiple servers, and the cloud management platform includes:

[0024] A policy configuration module is used 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 of the first request attribute; an access request acquisition module is used to obtain a first access request triggered by a user, and the first access request carries a 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.

[0025] In a possible implementation, the cloud management platform further includes: a permission control module, configured to allow or deny the first access request according to the first matching result and a first access control policy recorded in the cloud management platform.

[0026] In a possible implementation, the policy configuration module is also 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 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 also used to detect whether the target request attribute matches the second request attribute to obtain a second matching result.

[0027] In a possible implementation, the permission control module is further configured 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.

[0028] In a 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.

[0029] 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.

[0030] 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.

[0031] 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 has passed 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 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.

[0032] In one possible implementation, the cloud management platform also includes: a registration module, used to obtain multiple registration requests carrying different user accounts; the registration module is also used to register and record multiple user accounts respectively 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.

[0033] 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.

[0034] 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.

[0035] 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.

[0036] 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, which is used to store program instructions and data necessary for the network device. The chip system can be composed of a chip, or it can include a chip and other discrete devices.

[0037] In a seventh aspect, the present application provides a server, including 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

[0038] Figure 1 A schematic diagram of the organization's service control strategy;

[0039] Figure 2 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;

[0040] Figure 3 This is a schematic diagram of a cloud management platform 20 in an embodiment of the present application;

[0041] Figure 4 A schematic diagram of a process of an access control method based on cloud computing technology in an embodiment of the present application;

[0042] Figure 5 This is a schematic diagram of a configuration interface of a first menu in an embodiment of the present application;

[0043] Figure 6 A schematic diagram of a process for determining an access control policy to be matched in an embodiment of the present application;

[0044] Figure 7 An access control method based on cloud computing technology proposed in the embodiment of the present application;

[0045] Figure 8 A schematic diagram of an access control strategy in an embodiment of the present application;

[0046] Fig. 9 A schematic diagram of another access control strategy in an embodiment of the present application;

[0047] Fig.10 A schematic diagram of another access control strategy in an embodiment of the present application;

[0048] Fig.11 This is a schematic diagram of an application scenario in an embodiment of the present application;

[0049] Fig.12 This is a schematic diagram of the structure of a cloud management platform 20 in an embodiment of the present application;

[0050] Fig.13 This is a schematic diagram of the structure of a computing device 1300 in an embodiment of the present application;

[0051] Fig.14 This is a schematic diagram of the structure of a computing device cluster in an embodiment of the present application;

[0052] Fig.15 This is another structural diagram of a computing device cluster in an embodiment of the present application;

[0053] Fig.16 A schematic diagram of an access control strategy in an embodiment of the present application. DETAILED DESCRIPTION

[0054] 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 set forth herein. On the contrary, 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.

[0055] As used herein, the term "including" and its variations represent 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". The terms "first", "second", etc. are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit the "first" and "second" to different types.

[0056] First, some concepts involved in the embodiments of the present application are introduced.

[0057] 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.

[0058] 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.

[0059] A private cloud is a cloud infrastructure with software and hardware resources built within a firewall so that departments within an organization or enterprise can share resources within the data center. A private cloud is a cloud infrastructure that is operated entirely for a specific organization. The administrator may be the organization itself or a third party; the location may be inside or outside the organization.

[0060] A hybrid cloud refers to a cloud computing environment composed of private cloud resources and public cloud resources.

[0061] Access control policy refers to a policy that restricts the subject (such as terminal devices, also known as users, or users) from operating or accessing an object (such as resources in a cloud service) to prevent resource abuse and data leakage. Access control policy can ensure that the user's request will take effect only when the user has the corresponding permissions, so that the resources of the specified cloud service can only be obtained by the specified terminal, and the specified cloud service actions can only be accessed by the specified terminal to ensure the security of access. Administrators can configure access control policies for a certain account in cloud services such as identity management or organization management, and use the access control policy to restrict the operating permissions of other users in the account to cloud resources.

[0062] Exemplarily, an access control policy can be a set of constraints described in 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 may also include other fields, such as a condition field (Condition), which indicates the restrictive conditions under which the constraint takes effect.

[0063] See also Fig.16 , Fig.16 The following is a schematic diagram of an access control policy in an embodiment of the present application. The multiple fields of the access control policy (ACP) may include Version, Statement, Effect, Action, Resource, etc. Each field corresponds to a policy element in the ACP. The following is an explanation of each field in the ACP.

[0064] Version, an optional policy element (sting), such as "Version": "2012-10-17", is used to indicate the version of the ACP document. The cloud service provider's ACP document version can have only one value, 2012-10-17. If there is no Version element in the ACP, its default value is 2012-10-17.

[0065] 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, and each statement is enclosed in {}.

[0066] Effect: A mandatory element (sting), such as "Effect": "Deny". It is a component element of the constraint rule of the Statement. Each constraint rule must include this element. It has only two values: Allow or Deny, which respectively represent "explicit authorization" and "explicit rejection".

[0067] Action: A required element (String), such as "Action": "ec2:AttachInternetGateway". It is a component element of the constraint rule of the Statement. Each constraint rule must include this element. The value consists of two parts: service-name and action-name, where service-name is the namespace of the cloud service (for example, Fig.16 ec2 in ), and action-name is the operation name of each product (for example Fig.16 AttachInternetGateway in the service-name and action-name values ​​are not case-sensitive, and the action name can contain the wildcard *.

[0068] 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, Fig.16 The “*” in the .

[0069] It should be pointed out that when there are both Allow and Deny constraint statements in SCP, the Deny statement takes precedence.

[0070] When performing policy calculation (or verification, or authentication, etc.) on the access request and its corresponding ACP, if the effectiveness of the policy corresponding to the access request is Allow, the calculation result is true (that is, access is allowed, which is considered to be a successful verification), and the authentication passes (or is called verification passes); if the policy contains the effectiveness Deny, the calculation result is false (that is, access is denied, which is considered to be a verification failure), and the authentication fails (or is called verification fails).

[0071] by Fig.16Taking the ACP shown in the figure as an example, the verification of access requests by ACP is introduced as follows: the main elements of the Statement policy in the ACP are: "Effect": "Deny"; "Action": "ec2:AttachInternetGateway"; "ec2:CreateInternetGateway"; ...; "golobalaccelerator:Update". This means that the access request will be allowed to access all resources only if it passes the verification of the ACP.

[0072] Access control policies can be mainly divided into: Discretionary Access Control (DAC) policy and Mandatory Access Control (MAC) policy. Discretionary access control policy is used to grant permissions to users so that users can access or operate resources. Mandatory access control policy is 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.

[0073] 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 the present application do not limit this.

[0074] Access request, in the embodiment 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.

[0075] A service control policy (SCP) is a mandatory access control policy for organizational services that applies to identities within the organization.

[0076] Resource control policy (RCP) refers to a mandatory access control policy for resources within an organization in an organizational service.

[0077] Cloud management platform and infrastructure: The cloud management platform is used to manage the cloud vendor's infrastructure. The infrastructure is multiple cloud data centers set up in different regions, where each region is equipped with 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 with a pre-registered account and password, and after a successful login, they can select and purchase cloud services provided by the cloud data center in the predetermined area, such as object storage services, virtual machine services, container services or other known cloud services.

[0078] 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 through the tenant account and the set tenant 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.

[0079] The embodiments of the present application provide an access control method that can be applied to any IT system that requires organized management of resources and unified control of permissions (such as a public cloud system, a private cloud system, or a hybrid cloud system, etc.), with resources within the organization, virtual instances provided by a cloud management platform, or cloud services provided by a cloud management platform as the objects of the organization's management and control strategy, so as to control resources within the organization and deny access to identities outside the organization, thereby ensuring the security of resources within the organization.

[0080] The specific implementation of the access control method provided in the embodiment of the present application is described in detail below 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.

[0081] It can be understood that when the access control method provided in the embodiment of the present application is applied to a public cloud system, it can also be called an access control method based on cloud computing technology.

[0082] Currently, common access control strategies based on cloud computing technologies include: Organizations Service Control Policy, Organizations Tag Policy, Virtual Private Cloud (VPC) endpoint policy, or Permissions Boundary, among other methods.

[0083] For example, see Organization Service Control Policy. Figure 1 , Figure 1 This is a diagram of an organizational service control policy. In an organizational service control policy, the service control policy (SCP) needs to be bound to an organization, an organizational unit, or an account. For example Figure 1 As shown, for the entire organization, Figure 1 Configure service control policy-1 (SCP-1) for the root (root). SCP-1 constrains all subordinate accounts of the root. Users in all subordinate accounts of the root who initiate API requests must pass the verification of SCP-1 before they can access successfully. Configure SCP-2 for the root's organizational unit-2 (OU-2), and SCP-2 constrains all subordinate accounts of the organizational unit-2. Users in all subordinate accounts of OU-2 who initiate API requests must pass the verification of SCP-1 and SCP-2 before they can access successfully. Configure SCP-3 for the subordinate account "Account-3 (acct-3)" of OU-2. Users in all subordinate accounts of Account-3 who initiate API requests must pass the verification of SCP-1, SCP-2, and SCP-3 before they can access successfully.

[0084] The applicant has found that the configuration of the above 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.

[0085] 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 policies that need to take effect. Improve the efficiency of using access control policies to verify access requests.

[0086] The specific implementation of the access control method based on cloud computing technology and the cloud management platform device provided in the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0087] Figure 2 The schematic diagram of the system architecture to which the access control method based on cloud computing technology provided by the embodiment of the present application can be applied is shown. Figure 2As shown, the system includes a cloud management platform 20 and an infrastructure 1. Tenant A can log in to the cloud management platform 20 through the client 40 via the Internet 30 with an account and password pre-registered on the cloud management platform 20, and manage cloud resources in the infrastructure 1 through the cloud management platform 20. Tenant A can deploy access control services for its cloud resources on the cloud management platform 20. The infrastructure 1 includes multiple computing devices. For example, the infrastructure 1 includes computing devices 11, computing devices 12...computing devices 13. For example, the computing device 11 includes a hardware layer and a software layer. The hardware layer includes a memory 116, a processor 117, a network card 118, and a hard disk 119. The software layer includes virtual instances 111, 112, 113, 114...and an operating system 115 of the computing device 11. The operating system 115 includes a virtual instance manager 1151 and a cloud management platform client 1152. The virtual instance manager 1151 is used to manage multiple virtual instances and communicate with the cloud management platform 20 through the cloud management platform client 1152. It is worth noting that in the embodiment 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 device can be one or more, and the embodiment of the present application does not limit this.

[0088] Exemplarily, the infrastructure 1 includes at least one cloud data center, such as Figure 2 In the cloud data center 100 and the cloud data center 200, each cloud data center is provided with multiple computing devices, for example, the cloud data center 100 is provided with computing devices 11 and 12, the cloud data center 200 is provided with computing devices 13, ..., one or any combination of multiple virtual instances is deployed in at least one computing device of the infrastructure 1, for example, virtual instance 111, virtual instance 112, virtual instance 113 and virtual instance 114 are deployed in computing device 11, virtual instance 121 virtual instance 121, virtual instance 122 virtual instance 122, virtual instance 123 virtual instance 123 and virtual instance 124 virtual instance 124 are deployed in computing device 12. Multiple cloud resources of the same tenant can be set in one organization.

[0089] Computing device 11, computing device 12 and computing device 13 can be servers. The server can be an independent physical server or a server cluster or distributed system composed of multiple physical servers. The server provides various cloud services, such as cloud database, cloud computing, cloud storage and other basic cloud computing services.

[0090] 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 including one or more other virtual machines.

[0091] In the following, in an example, a cloud management platform proposed in the embodiment of the present application is divided according to functions. Figure 3 , Figure 3 Schematic diagram of a cloud management platform 20 in an embodiment of the present application. A 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.

[0092] Specifically, the policy configuration module 201 is used to obtain and record access control policies;

[0093] The access request acquisition module 202 is used to acquire the access request triggered by the user;

[0094] 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;

[0095] The authority control module 204 is used to allow or deny the access request according to the matching result and the access control policy, wherein the matching result indicates whether to use the access control policy to further authenticate the access request. The authentication result of authenticating the access request using the access control policy indicates that the access request is allowed, or the access request is denied.

[0096] 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 jointly by one or more cloud services, 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 is understandable 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 jointly by one or more cloud services, 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.

[0097] In a possible example, the policy configuration module 201 is implemented by an access management device 21, and the access management device 21 is used to configure and issue access control policies.

[0098] In another possible example, the access request acquisition module 202, the authentication module 203 and the authority control module 204 are implemented by an authentication device 22, and the authentication device 22 is used to obtain an access control policy and verify the access request according to the access control policy.

[0099] 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 by the access request from the access request. The context manager can pass the target request attribute to the authentication device 22.

[0100] In another possible example, the authentication module 203 includes a context manager. For example, the authentication module 203 is implemented with a policy decision point (PDP) service and a context manager. The context manager is specifically used to extract the target request attribute in the access request.

[0101] 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 with the same cloud service or virtual instance.

[0102] 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.), and the embodiments of the present application do not limit this. 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.

[0103] 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 application. For example, the authentication device 22 includes a policy decision point (PDP) service. For another example, the authentication device 22 includes access policy enforcement.

[0104] 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.

[0105] Next, we will introduce an access control method based on cloud computing technology proposed in this application embodiment. Figure 4 , Figure 4 The following is a flow chart of an access control method based on cloud computing technology in an embodiment of the present application. An access control method based on cloud computing technology proposed in an embodiment of the present application includes:

[0106] 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.

[0107] In this embodiment, the cloud management platform can obtain and record the access control policy configured by the administrator. Specifically, configuring the access control policy includes configuring at least one request attribute information, and the request attribute information includes one or any combination of the request attribute, the expected value of the request attribute, and the matching method of the request attribute. The expected value of the request attribute is used to match the value of the target request attribute carried by 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 of the request attribute.

[0108] 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, 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. The expected value of the first request attribute is used to match the value of the target request attribute carried by 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.

[0109] 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 of the second request attribute. And so on, this application is not limited.

[0110] In the access control policy, one or more fields may be specifically included: 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 access request bound to the access control policy, the expected value field of the request attribute is used to match the expected value of the first request attribute and the value of the target 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. For example, the 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.

[0111] The following describes the request attribute information, including: request attributes, expected values ​​of request attributes, and matching methods of request attributes.

[0112] 1. Request attributes refer to the various context request attributes associated with the access request.

[0113] 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 who sent the access request. The request attributes include, but are not limited to: identity request attributes of the user who sent the access request, such as: identity type, account identifier (ID), account name, or information about the organization to which the account belongs.

[0114] In one possible example, the request attribute includes the relevant request attribute of the destination (e.g., resource) of the access request. The request attribute includes resource attributes. The request attribute includes, but is not limited to: the resource identifier, the resource tag, the identifier of the organization to which the resource belongs, the location path of the resource in the organization, etc.

[0115] In a possible example, the request attribute includes a request attribute related to the type of operation performed by the access request on the resource. The request attribute includes but is not limited to: accessing resources, reading resources, storing resources, calling resources, or editing resources.

[0116] 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 is that the request attributes include whether the access request is encrypted. The request attributes may also include request attributes related to the request path that the access request passes through.

[0117] Exemplarily, the request attributes are shown in Table 1.

[0118] Table 1

[0119]

[0120]

[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, the request attributes customized by the cloud management platform may also be included. 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 the request attribute, taking the request attribute "PrincipalOrgPath (the caller's location path in the organization)" as an example, the expected value of the request attribute can be configured as "Org-1 / Root / OU-2 / *", and the request attribute information to which the request attribute belongs (such as request attribute information #1) is bound to the access control policy ACP#1. This means that the caller of the access request (or the user who sends the access request) for which ACP#1 is effective is located at "Org-1 / Root / OU-2 / *" in the organization. When the user "Org-1 / Root / OU-3 / *" sends access request #2, since the value of the request attribute "PrincipalOrgPath" of access request #2 is "Org-1 / Root / OU-3 / *", which is inconsistent with the expected value "Org-1 / Root / OU-2 / *" of the request attribute "PrincipalOrgPath" of request attribute information #1, access request #2 does not meet the matching rule of ACP#1, and ACP#1 cannot be used to verify access request #2. ACP#1 fails access request #2.

[0125] 3. Matching method of request attributes.

[0126] Regarding the matching method of the request attribute, the matching method of the request attribute 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 the access control policy ACP#1, the request attribute information #1 is bound to ACP#1, and the expected value of the request attribute "PrincipalOrgPath" in the request attribute information #1 is "Org-1 / Root / OU-2 / *". The matching method of the request attribute 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, and the ACP#1 is effective for the access request, and the access request can be verified using ACP#1; when string #1 and string #2 do not meet the fuzzy match, the access request does not meet the matching rule of ACP#1, and the ACP#1 is not effective for the access request, and the access request cannot be verified using ACP#1.

[0127] Exemplarily, the matching method includes any one or more of the following: string fuzzy matching, string complete matching, address range judgment, or comparison of numerical values. In other words, the access control policy can configure multiple matching methods at the same time, and the target request attribute of the access request needs to simultaneously meet the matching rules indicated by the multiple matching methods configured by the access control policy before the access control policy can be used to verify the access request.

[0128] Regarding the access control policy, one 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 items related to the access control policy. For example, the first menu includes options related to configuring request attributes, and the request attributes are bound to the configured access control policy. Figure 5 As shown, Figure 5 This is a schematic diagram of a configuration interface of a first menu in an embodiment of the present application. When a terminal device (e.g., 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 of which corresponds 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, which are used to configure the request attributes included in the request attribute information, the expected values ​​of the request attributes, and / or the matching method of the request attributes.

[0129] Specifically, the client runs in the terminal device, and the access management device sends a first menu to the client in response to the request configuration instruction of the client. The administrator obtains the first menu through the client and determines the selected request attribute information from the first menu. Figure 5 In the example of configuring access control policy ACP#10001, the first menu provides multiple 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 been authenticated by 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, the expected value of the request attribute in the request attribute information may be further configured.

[0131] Furthermore, the first menu may also include one or more options corresponding to the matching mode, so that the terminal device can select the matching mode of the request attribute in the request 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 to obtain the cloud management platform.

[0133] Furthermore, the cloud management platform can create access control policies through the above method. For example, according to the configuration instructions from the administrator, configure the access control policy "ACP#1", which is bound to the request attribute information #1, and the request attribute information #1 includes the request attribute "PrincipalAccount (the account ID of the requester)" and the request attribute "ResourceUrn (the unique identifier of the resource requested to access)".

[0134] Furthermore, the cloud management platform can also edit (or modify) existing access control policies. For example, for the existing access control policy "ACP#1", the ACP#1 has been bound to the request attributes "PrincipalAccount (the account ID of the requester)" 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 carried by the resource requested for access)".

[0135] Furthermore, after the cloud management platform obtains multiple registration requests carrying different user accounts, the cloud management platform can register and record multiple user accounts according to the multiple registration requests. The multiple user accounts here include the administrator's account. The cloud management platform assigns the configuration permissions of different access control policies to the corresponding user accounts according to the permissions of each user account. For example, the configuration permission of the first access control policy is assigned to the administrator's account. Personalized configuration and management of access control policies are achieved.

[0136] S2. The cloud management platform obtains a first access request triggered by a user, where the first access request carries a target request attribute.

[0137] In this embodiment, the cloud management platform obtains the first access request triggered by the user, and the first access request carries the target request attribute. For example, the user wants to access a resource through the client, triggering the access request, and the cloud management platform obtains the access request.

[0138] In a possible implementation, the context manager in the cloud management platform obtains the target request attribute from the access request. After the context manager obtains the first access request triggered by the user, the context manager obtains all request attributes related to the first access request, and 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, according to the target request attribute carried in the first access request, an access control policy for matching 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 detects whether the first request attribute in the first request attribute information included in the first access control policy matches the target request attribute, and so on, matches all request attributes included in the first access control policy with all target request attributes carried by the first access request one by one. Based on the matching result, it is determined whether to use the first access control policy and verify the first access request.

[0143] The specific matching method is as follows: the cloud management platform extracts the target request attribute in the first access request. Then, 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, and obtains a first matching result. The specific matching method is determined by the matching rule of the request attribute in the access control policy and the expected value of the request attribute. The matching method includes one or any combination of string fuzzy matching, string complete matching, address range judgment, and comparison of numerical values.

[0144] If the matching result indicates a successful match, the first access request is further verified using the first access control policy. 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 that the verification is successful, the first access request is allowed; when the verification result indicates that the verification fails, 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, 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 do not satisfy the matching rule of the first request attribute, and the first matching result is considered to be 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 search, that is, it is considered that there is no access control policy in the cloud management platform that can be used to verify the first access request, the first access request is rejected.

[0146] Furthermore, when the target request attribute of the first access request includes multiple request attributes, the access control policy can be used to verify the first access request only when the multiple request attributes included in the target request attribute and multiple matching results of the access control policy are all matched successfully. If only one of the multiple matching results is a matching failure, the access control policy cannot 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 attribute included in the first access request. Then, based on the target request attribute, it matches with 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 matches, and then uses the multiple access control policies (multiple access control policies whose matching results are successful matches) 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] Exemplarily, taking the first access control policy and the second access control policy as examples, the cloud management platform matches the target request attribute with the multiple request attributes (such as the first request attribute) included in the first access control policy to obtain a first matching result. The cloud management platform matches the target request attribute with the multiple request attributes (such as the second request attribute) included in the second access control policy to obtain a second matching result. Then the cloud management platform determines whether to use the first access control policy to verify the first access request based on the first matching result; and determines whether to use the second access control policy to verify the first access request based on the second matching result. Specifically, when the first matching result indicates a successful match, the first access request is verified using the first access control policy; when the first matching result indicates a failed match, the first access request is not verified using the first access control policy. When the second matching result indicates a successful match, the first access request is verified using the second access control policy; when the second matching result indicates a failed match, the first access request is not verified using the second access control policy. If the first matching result indicates a successful match, and the second matching result indicates a successful match. The cloud management platform verifies the first access request using the first access control policy and the second access control policy respectively. According to the two verification results, it is determined whether to allow the first access request or reject the first access request. When both verification results are successful, the first access request is allowed; when either or both of the two verification results are failed, the first access request is rejected.

[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. Flexible configuration of the access control policy is achieved so that the access control policy can 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 take effect. Improve the efficiency of using the access control policy to verify access requests.

[0150] Next, we will further introduce how the cloud management platform obtains the access control policy for matching the target request attribute. For ease of description, the access control policy for matching the target request attribute is referred to as the target access control policy.

[0151] For a possible implementation, see Figure 6 , Figure 6 A schematic diagram of a process for 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 attribute of the first access request through the context manager in the cloud management platform. Specifically, after the context manager receives the first access request from the terminal device (user), the context manager obtains all request attributes related to the first access request, and these request attributes are called target request attributes. Then the context manager sends the target request attributes (specifically, it 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 attribute, the authentication device 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, the target access control policy includes a first access control policy and a second access control policy.

[0156] Specifically, the authentication device sends the target request attribute to the access management device, and the access management device determines the target access control policy according to the target request attribute.

[0157] D3. The access management device determines a target access control policy corresponding to the target request attribute according to the target request attribute.

[0158] In this embodiment, the access management device determines the target access control policy from one or more access control policies configured by the access management device according to the target request attribute. Specifically, the target access control policy satisfies: 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 of the request attribute in the target access control policy. In other words, the matching result of the request attribute included in the target access control policy and the target request attribute is 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 according to the target access control policy. According to the verification result, it is determined whether to allow the first access request. Specifically, when the authentication device successfully verifies the first access request using the target access control policy, the first access request is allowed; when the authentication device fails to verify the first access request using the target access control policy, the first access request is rejected.

[0163] In another possible implementation, the cloud management platform selects 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 attribute. 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, see Figure 7 , Figure 7 An access control method based on cloud computing technology proposed in an embodiment of the present application 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 according to the target request attribute, and 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 the authentication device obtains the target request attribute, the authentication device selects a first set from one or more configured access control policies. The attribute type of the request attribute bound to the access control policy included in the first set is consistent with the attribute type of the target request attribute.

[0168] For example, the first set includes: ACP#10001, ACP#10002 and ACP#10003. Figure 8 , Fig. 9 and Fig.10 , Figure 8 is a schematic diagram of an access control strategy in an embodiment of the present application, Fig. 9 Schematic diagram of another access control strategy in an embodiment of the present application. Fig.10 This is a schematic diagram of another access control strategy in an embodiment of the present application.

[0169] The request attribute information bound by ACP#10001 is: Identity attribute: the account ID of the requester, and Resource attribute: the organization ID of the resource to which the requester is requesting access. The request attribute information bound by ACP#10002 is: Identity attribute: the account ID of the requester, and Resource attribute: the organization ID of the resource to which the requester is requesting access. The request attribute information bound by ACP#10003 is: Identity attribute: the account ID of the requester, Resource attribute: the organization ID of the resource to which the requester is requesting access, and Environment attribute: whether the request is sent using SSL.

[0170] The authentication device obtains the target request attribute related to the first access request #1, including: identity attribute: the account ID of the request caller, and resource attribute: the organization ID to which the resource requested for access belongs. According to the attribute type of the target request attribute, ACP#10001 and ACP#10002 that are consistent with the attribute type of the target request attribute are determined from ACP#10001, ACP#10002, and ACP#10003. ACP#10001 and ACP#10002 are taken as the 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 method included in the access control policy.

[0172] In this embodiment, the target request attribute is matched according to the matching rule associated with each access control policy in the first set and the expected value of the request attribute in each access control policy. Then, the access control policy that meets the matching rule is screened out as the target access control policy, that is, the access control policy with a matching result being successfully matched is used as the target access control policy. The matching rule is indicated by the matching mode of the access control policy.

[0173] by Figure 8 and Fig. 9 Taking ACP#10001 and ACP#10002 as examples, the matching method of ACP#10001 is: string fuzzy matching, and the matching method of ACP#10002 is: string fuzzy matching. In ACP#10001, the expected value of the request attribute information: the account ID of the request caller is "Acct-3", and the expected value of the organization ID of the resource requested to be accessed is "OU-3". In ACP#10002, the expected value of the request attribute information: the account ID of the request caller is "Acct-4", and the expected value of the organization ID of the resource requested to be accessed is "OU-4". According to the matching rule "string fuzzy matching" indicated by the matching method, the value of the target request attribute related to the first access request #1 is obtained. Among them, the value of the target request attribute related to the first access request #1 includes: the account ID of the request caller: "Acct-3", and, the organization ID of the resource requested to be accessed: "OU-3". Match the value of the target request attribute to see if the expected value of the request attribute of ACP#10001 satisfies the string fuzzy matching. Match the value of the target request attribute to see if the expected value of the request attribute of ACP#10002 satisfies the string fuzzy match.

[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, Figure 8 and Fig. 9 Take ACP#10001 and ACP#10002 as examples. The values ​​of the target request attributes related to the first access request #1 include: the account ID of the request caller: "Acct-3", and the organization ID of the resource to which the access request belongs: "OU-3". For the target request attributes, the access control policy that meets the matching rules is ACP#10001, so ACP#10001 is used as the target access control policy for the first access request #1. ACP#10001 verifies the first access request #1. If the verification passes, the first access request #1 is allowed; if the verification fails, the first access request #1 is rejected.

[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 combination with the above embodiments, an application scenario proposed by the embodiments of the present application is introduced below. Fig.11 , Fig.11 This is a schematic diagram of an application scenario in an embodiment of the present application. The application scenario includes: an administrator (e.g., 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 (e.g., 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 already created access control policy.

[0180] F2. The administrator binds the access control policy to the request attribute information through IAM.

[0181] Specifically, in the process of creating an access control policy, the access control policy is bound to the request attribute information through IAM, or the bound request attribute information is edited and modified for the created access control policy.

[0182] Furthermore, you can also configure the expected value of the request attribute and the matching method 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, and the IAM determines the target access control policy according to the target request attributes. The effective target access control policy is, for example, the first access control policy, that is, the matching result between the first access control policy and the first access request is a successful match.

[0187] F6. IAM sends the target access control policy that needs to take effect 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] In order to realize the functions in the above-mentioned embodiments, the access management device and the authentication device include hardware structures and / or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and method steps of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.

[0192] The cloud management platform proposed in the embodiment of the present application is introduced below in conjunction with the accompanying drawings. Fig.12 As shown, Fig.12 It is a structural diagram of a cloud management platform 20 in an embodiment of the present application.

[0193] The cloud management platform 20 is used to manage the infrastructure, which includes at least one cloud data center, each of which is equipped with multiple servers. The cloud management platform 20 includes:

[0194] The policy configuration module 201 is used 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 of the first request attribute;

[0195] An access request acquisition module 202 is used to acquire a first access request triggered by a user, where the first access request carries a target request attribute;

[0196] The authentication module 203 is used to detect whether the target request attribute matches the first request attribute, and obtain a first matching result.

[0197] In a possible implementation, the cloud management platform 20 further includes:

[0198] The permission control module 204 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.

[0199] In a possible implementation, the policy configuration module 201 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 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 used 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 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.

[0202] In a possible implementation, the authentication module 203 is specifically configured to extract a target request attribute in 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 has passed 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 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.

[0211] In a possible implementation, the cloud management platform 20 further includes:

[0212] A registration module 205, used to obtain multiple registration requests carrying different user accounts;

[0213] The registration module 205 is further used 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 used to assign the configuration authority of the first access control policy to the administrator's account.

[0215] Among them, the policy configuration module 201, the access request acquisition module 202, the authentication module 203, the authority control module 204 and the registration module 205 can all be implemented by software, or can be implemented by hardware. Exemplarily, the implementation of the policy configuration module 201 is introduced below by taking the policy configuration module 201 as an example. Similarly, the implementation of the access request acquisition module 202, the authentication module 203, the authority control module 204 and the 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. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned 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 (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 a data center or multiple data centers with close geographical locations. Among them, usually a region may include multiple AZs.

[0217] Similarly, multiple hosts / virtual machines / containers used to run the code can be distributed in the same virtual private cloud (VPC) or in multiple VPCs. Usually, a VPC is set up in a region. For cross-region communication between two VPCs in the same region and between VPCs in different regions, a communication gateway needs to be set up in each VPC to achieve interconnection between VPCs through the communication gateway.

[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, etc. Alternatively, the policy configuration module 201 may also be a device 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 computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.

[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, the sending module can be used to execute any step in the access control method based on cloud computing technology, and 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 policy configuration module 201, the access request acquisition module 202, the authentication module 203, the permission control module 204 and the registration module 205 respectively implement different steps in the access control method based on cloud computing technology to realize all the functions of the access management device.

[0221] Combined with the above Figure 3 The access management device 21 and the authentication device 22 can be implemented by software or hardware. As an example, the implementation of the access management device 21 is described below. Similarly, the implementation of the authentication device 22 can refer to the implementation of the access management device 21.

[0222] As an example of a software functional unit, the access management device 21 may include 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, multiple hosts / virtual machines / containers used to run the code can be distributed in the same VPC or in multiple VPCs. Usually, a VPC is set up in a region. For cross-region communication between two VPCs in the same region and between VPCs in different regions, a communication gateway must be set up in each VPC to achieve interconnection between VPCs through the communication gateway.

[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, etc. Alternatively, the access management device 21 may also be a device implemented using ASIC or PLD, etc. The PLD may be implemented using 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 computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.

[0226] The present application also provides a computing device 1300. Fig.13 As shown, Fig.13 1 is a schematic diagram of the structure of a computing device 1300 in an embodiment of the present application. The computing device 1300 includes: a bus 1302, a processor 1304, a memory 1306, and a communication interface 1308. The processor 1304, the memory 1306, and the communication interface 1308 communicate through the bus 1302. The computing device 1300 can be a server or a terminal device. It should be understood that the present application does not limit the number of processors and memories in the computing device 1300.

[0227] The bus 1302 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.13 The bus 1304 may include a path for transmitting information between various components of the computing device 1300 (eg, the memory 1306, the processor 1304, and the communication interface 1308).

[0228] The processor 1304 may include any one or more of 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 a volatile memory, such as a random access memory (RAM). The processor 1304 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0230] The memory 1306 stores executable program codes, and the processor 1304 executes the executable program codes to respectively implement the functions of the aforementioned policy configuration module, access request acquisition module, authentication module, authority control module, and registration module, thereby implementing the access control method based on cloud computing technology. That is, the memory 1306 stores instructions for executing the access control method based on cloud computing technology.

[0231] Alternatively, the memory 1306 stores executable codes, and the processor 1304 executes the executable codes to respectively implement the functions of the aforementioned access management device and authentication device, thereby implementing the access control method based on cloud computing technology. That is, 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] The embodiment of the present application also provides 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 smart phone.

[0234] like Fig.14 As shown, Fig.141 is a schematic diagram 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 in 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, which are respectively used to execute part of the functions of the access management device. That is, the instructions stored in the memory 1306 in different computing devices 1300 can implement the functions of one or more modules among the policy configuration module 201, the access request acquisition module 202, the authentication module 203, the authority control module 204 and the registration module 205.

[0237] In some possible implementations, one or more computing devices in the computing device cluster may be connected via a network, which may be a wide area network or a local area network. Fig.15 A possible implementation is shown. Fig.15 As shown, two computing devices 1300A and 1300B are connected via a network. Specifically, they are connected to the network via the 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] Fig.15 The connection mode between the computing device clusters shown may be considered to be based on the fact that the access control method based on cloud computing technology provided by the present application needs to process a large number of access requests. Therefore, it is considered that the functions implemented by the access request acquisition module, the authentication module and the registration module are handed over to the computing device 1300B for execution.

[0239] It should be understood that Fig.15 The functions of the computing device 1300A shown in FIG. 1300A may also be completed by multiple computing devices 1300. Similarly, the functions of the computing device 1300B may also be completed by multiple computing devices 1300.

[0240] The present application embodiment also provides another computing device cluster. The connection relationship between the computing devices in the computing device cluster can be similar to that of Fig.14 and Fig.15 Connection mode of computing device cluster. The difference is that the memory 1306 in 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.

[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 some functions of the cloud management platform. That is, 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 embodiment of the present application also provides a computer program product including instructions. The computer program product may be a software or 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, the at least one computing device executes an access control method based on cloud computing technology, or an access control method based on cloud computing technology.

[0244] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by the computing device or a data storage device such as a data center containing 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 hard disk). 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, register, hard disk, mobile hard disk, CD-ROM or any other form of storage medium 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 a component of the processor. The processor and the 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 the storage medium can also be present in a base station or a terminal as discrete components.

[0246] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When a computer program or instruction is loaded and executed on a computer, the process or function of the embodiment of the present application is executed in whole or in part. The computer can 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 instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program or instruction can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, a hard disk, or a tape; it can also be an optical medium, such as a digital video disc; it can also be a semiconductor medium, such as a solid-state hard disk. 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 provided for in any logical conflict, the terms and / or descriptions between the different embodiments are consistent and may be referenced to each other, and the technical features in the different embodiments may 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 cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the 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

Cited By

  • Access control method based on cloud computing technology, and related apparatus

    EP4675978A1

  • Access control method based on cloud computing technology, and related apparatus

    WO2024179490A1

  • Permission verification method based on cloud management platform, and cloud management platform

    WO2026123704A1