Access control method, system, device, medium and program product for application

By using domain name resolution and configuration files to determine access policies in the access control system, the problem of low security when terminal devices access SaaS applications under private networks is solved, and more efficient application access control and data security are achieved.

CN118353719BActive Publication Date: 2024-10-22BEIJING VOLCANO ENGINE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410780623.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-22
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

In a paperless office environment, terminal devices can access SaaS applications from the private network of an enterprise or organization, causing data security to be affected. It is difficult for existing technologies to effectively avoid misidentification or missed identification, affecting application access security.

Method used

By introducing the security management application client, security management application server, central domain name system and application gateway into the access control system, domain name resolution is used to determine the target access policy, and based on the policy, the access rights of the terminal device are controlled, and the application is characterized through configuration files. Correspondence between domain names and access policies, access rights of multiple security management application clients, and information acquisition types.

Benefits of technology

It effectively avoids misidentification or missed identification, improves the pertinence and security of application access, and ensures data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118353719B_ABST
    Figure CN118353719B_ABST
Patent Text Reader

Abstract

The present disclosure relates to the field of network technology, and discloses an access control method, system, device, medium and program product for applications. The present disclosure provides an access control method for applications, including: after the security management application client detects access to the target application, it generates an access request and sends the access request to the central domain name system; the central domain name system performs domain name resolution on the access request to obtain the target application domain name of the target application, and sends the target application domain name to the application gateway; the application gateway determines the target access policy for the target application based on the matching result of the target application domain name in the first configuration file, and controls the terminal device where the security management application client is located to access the target application based on the target access policy, wherein the first configuration file is used to characterize the corresponding relationship between the application domain name and the access policy. It can make the access control process more targeted, effectively improve the application access security, and ensure data security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of network technology, and in particular to an access control method, system, device, medium and program product for applications. Background Art

[0002] Software as a Service (SaaS) is a software application model that provides software services based on the Internet, so that terminal devices can access cloud-based service applications through the Internet.

[0003] In the related technology, with the promotion and popularization of paperless office, more and more enterprises or other organizations choose to use software applications to store business data and complete daily operations. Since terminal devices can access SaaS applications in the private network / dedicated network of enterprises or other organizations or in the public network, when terminal devices access SaaS applications in the private network / dedicated network of enterprises or other organizations, it is easy to affect the data security within the enterprise or other organization. In view of this, there is an urgent need for a method that can ensure the security of application access. An application gateway (alias: proxy server) is a network device that can connect one network to another and provide specific applications. Summary of the invention

[0004] In view of this, the present disclosure provides an access control method, system, device, medium and program product for applications to solve the problem of low application access security.

[0005] In a first aspect, the present disclosure provides an access control method for an application, which is applied to an access control system, wherein the access control system includes a security management application client, a security management application server, a central domain name system, and an application gateway, wherein the security management application client is deployed on a terminal device within an enterprise, the security management application server is used to manage the security management application client and the application gateway, the security management application server is connected to the security management application client through a root certificate, the security management application server is connected to the application gateway through an intermediate certificate, and the application management server sends a first configuration file, a second configuration file, and a third configuration file to the application gateway, the first configuration file is used to characterize the correspondence between the application domain name and the access policy, the second configuration file is used to characterize the correspondence between the same application and the application access rights of multiple security management application clients, and the third configuration file is used to characterize the correspondence between the target access policy and the information acquisition type; the method includes:

[0006] After the security management application client detects the access request of the terminal device to the target application, it generates a domain name resolution request and sends the domain name resolution request to the central domain name system;

[0007] The central domain name system performs domain name resolution on the domain name resolution request, obtains the domain name resolution result, and sends it to the application gateway;

[0008] The application gateway determines a target access policy for the target application based on a matching result of the target application domain name of the target application in the first configuration file, and controls the terminal device where the security management application client is located to access the target application based on the target access policy;

[0009] Wherein, the controlling the terminal device where the security management application client is located to access the target application based on the target access policy includes: if the target access policy is a second target access policy, the application gateway sends a second access resource to the security management application client to allow the terminal device where the security management application client is located to access the target application; in the application gateway, determining the application access rights of the terminal device where the security management application client is located to access the target application through a preset second configuration file; and the application gateway controls the terminal device where the security management application client is located to access the target application according to the application access rights;

[0010] The method also includes: the application gateway determines the target information acquisition type corresponding to the second target access policy, and in the process of the terminal device where the security management application client is located accessing the target application, obtains the target access information corresponding to the target application according to the target information acquisition type; and the application gateway sends the target access information to the security management application server; the security management application server saves the received target access information; wherein, the target information acquisition type is determined by the application gateway through a third configuration file.

[0011] In a second aspect, the present disclosure provides an access control system, the access control system comprising a security management application client, a security management application server, a central domain name system and an application gateway, wherein the security management application client is deployed on a terminal device within the enterprise, the security management application server is used to manage the security management application client and the application gateway, the security management application server is connected to the security management application client through a root certificate, the security management application server is connected to the application gateway through an intermediate certificate, and the application management server sends a first configuration file, a second configuration file and a third configuration file to the application gateway, the first configuration file is used to characterize the correspondence between the application domain name and the access policy, the second configuration file is used to characterize the correspondence between the same application and the application access rights of multiple security management application clients, and the third configuration file is used to characterize the correspondence between the target access policy and the information acquisition type; the system comprises:

[0012] The security management application client is used to generate a domain name resolution request after detecting an access request from the terminal device to the target application, and send the domain name resolution request to the central domain name system;

[0013] The central domain name system is used to perform domain name resolution on the domain name resolution request, obtain the domain name resolution result, and send it to the application gateway;

[0014] An application gateway, used to determine a target access policy for a target application based on a matching result of a target application domain name of a target application in a first configuration file, and to control a terminal device where a security management application client is located to access the target application based on the target access policy, wherein the control of the terminal device where the security management application client is located to access the target application based on the target access policy comprises: if the target access policy is a second target access policy, the application gateway sends a second access resource to the security management application client to allow the terminal device where the security management application client is located to access the target application; in the application gateway, determining application access rights for the terminal device where the security management application client is located to access the target application through a preset second configuration file; and the application gateway controls the terminal device where the security management application client is located to access the target application according to the application access rights;

[0015] A security management application server, used to store a first configuration file;

[0016] Among them, the application gateway is also used to determine the target information acquisition type corresponding to the second target access policy, and in the process of the terminal device where the security management application client is located accessing the target application, obtain the target access information corresponding to the target application according to the target information acquisition type; and the application gateway sends the target access information to the security management application server; wherein, the target information acquisition type is determined by the application gateway through a third configuration file; the security management application server is also used to save the received target access information.

[0017] In a third aspect, the present disclosure provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the access control method for an application according to the above-mentioned first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0018] In a fourth aspect, the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the access control method for an application according to the first aspect or any corresponding embodiment thereof.

[0019] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the access control method for an application according to the first aspect or any corresponding embodiment thereof.

[0020] The access control method for applications provided in this embodiment determines the target access policy for the target application by means of domain name resolution, which can effectively avoid the occurrence of misidentification or missed identification, and then controls the access of the terminal device where the security management application client is located to the target application based on the target access policy, which can make the access control process more targeted, thereby effectively improving application access security and ensuring data security. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0022] Figure 1 is a schematic diagram of the system architecture of an access control system according to an embodiment of the present disclosure;

[0023] Figure 2 is a flowchart of an access control method for an application according to an embodiment of the present disclosure;

[0024] Figure 3 is an interactive schematic diagram of domain name resolution according to an embodiment of the present disclosure;

[0025] Figure 4 is a flowchart of another access control method for applications according to an embodiment of the present disclosure;

[0026] Figure 5 is an interactive schematic diagram of access control according to an embodiment of the present disclosure;

[0027] Figure 6 It is a schematic diagram of the hardware structure of the computer device of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments 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 construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0029] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.

[0030] Herein, unless explicitly stated, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.

[0031] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0032] It is understandable that before using the technical solutions disclosed in the various embodiments of the present disclosure, the types, scopes of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to relevant users and their authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. The relevant users may include any type of right holders, such as individuals, enterprises, and groups.

[0033] For example, in response to receiving an active request from a user, a prompt message is sent to the relevant user to clearly prompt the relevant user that the operation requested to be performed will require obtaining and using the information of the relevant user, so that the relevant user can independently choose whether to provide information to software or hardware such as an electronic device, application, server or storage medium that executes the operation of the technical solution of the present disclosure based on the prompt message.

[0034] As an optional but non-limiting implementation, in response to receiving an active request from a relevant user, a prompt message is sent to the relevant user, for example, in the form of a pop-up window, in which the prompt message may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide information to the electronic device.

[0035] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0036] Office security usually involves the security management of networks, identities, and terminals. By implementing private network networking, access control, terminal management in private networks, and information security protection, digital office can be made safer, more efficient, and easier to use. Security management at the network level can ensure that private networks such as office networks can operate safely and efficiently, thereby ensuring that business data can be safely transmitted and stored. Security management at the identity level can improve the efficiency and security of identity authentication for users accessing private networks. Security management at the terminal level can achieve unified management of terminal devices within the private network, data leakage prevention, and terminal threat protection, thereby ensuring the security of corporate data.

[0037] In actual applications, the security management of networks, identities, and terminals can achieve technical linkage in multiple technical branches such as networking strategies, network access and control, remote access, unified terminal management, terminal detection and response, enterprise data leakage prevention, and identity authentication management, making digital office simpler, more efficient, and easier to implement.

[0038] In the related art, since terminal devices can access SaaS applications in private networks / dedicated networks of enterprises or other organizations, or in public networks, when terminal devices access SaaS applications in private networks / dedicated networks of enterprises or other organizations, it is easy to affect the data security within the enterprise or other organizations. In order to improve the security of application access, the Internet Protocol Address (IP), IP segment and port in the private network / dedicated network are scanned to control the terminal device access to the SaaS application. However, since the IP address of the SaaS application is not unique, there may be misidentification or missed identification, which may easily affect the access security of the application.

[0039] In view of this, according to an embodiment of the present disclosure, an access control method embodiment for an application is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0040] like Figure 1As shown, the system architecture of the access control system adopted in the embodiment of the present disclosure mainly includes: a security management application client 110 for internal members of an enterprise, a security management application server 120, a central domain name system 130, and an application gateway 140.

[0041] (1) The security management application client 110 is deployed on various terminal devices within the enterprise. Enterprise members can access application programs hosted in Internet data centers, public clouds, private clouds, and application resources such as SaaS applications through the business application clients on the terminal devices.

[0042] (2) The security management application server 120 is used to manage the security management application client 110 and the application gateway 140 to control the access of each terminal device where the security management application client 110 is located to application resources.

[0043] (3) The central domain name system 130 is connected to the security management application client 110, the application gateway and the server. The central domain name system 130 is used to perform domain name resolution on the domain name resolution request sent by the security management application client 110, and forward the domain name resolution result to the application gateway 140 and the security management application server 120 respectively.

[0044] (4) The application gateway 140 is deployed in the headquarters, branch network, Internet Data Center (IDC) or cloud service (such as public cloud, private cloud), etc. The application gateway is connected to the security management application client 110 of the organization / region where it is located, and is used to control the access of each security management application client 110 to application resources.

[0045] In this embodiment, a method for access control for applications is provided, which is applied to Figure 1 The access control system shown, Figure 2 is a flow chart of an access control method for an application according to an embodiment of the present disclosure, such as Figure 2 As shown, the process includes the following steps:

[0046] Step S201: After the security management application client detects an access request from its terminal device to a target application, it generates a domain name resolution request and sends the domain name resolution request to a central domain name system.

[0047] The target application can be an application deployed in the same intranet as the security management application client, or an application deployed in an extranet. The specific application can be determined based on actual access requirements.

[0048] When the security management application client detects an access request for a target application from its terminal device, it generates a domain name resolution request to request the central domain name system to perform domain name resolution, identify the target application that the terminal device where the security management application client is located needs to access, and facilitate subsequent targeted access.

[0049] Step S202: The central domain name system performs domain name resolution on the domain name resolution request, obtains a domain name resolution result, and sends it to the application gateway.

[0050] After receiving the domain name resolution request, the central domain name system performs domain name resolution on the received domain name resolution request to clarify the target application that the security management application client needs to access, and then obtains the domain name resolution result. The domain name resolution result includes the target application domain name of the target application.

[0051] In other optional implementation scenarios, after the domain name resolution is completed, the central domain name system can also forward the target application domain name of the target application in combination with the domain name resolution request to the security management application server, so that the security management application server can clearly know that the security management application client currently needs to access the target application. Figure 3 As shown, in order for the security management application client to detect access to the target application, the security management application server establishes an identity authentication relationship with the security management application client in advance by issuing a root certificate. Then, when the security management application client detects an access request to the target application, it generates a domain name resolution request and sends the domain name resolution request to the central domain name system to determine the domain name resolution result corresponding to the domain name resolution request through the central domain name system.

[0052] In order for the application gateway to clearly identify the target application domain name to be accessed by the security management application client, the central domain name system forwards the target application domain name to the application gateway so that the application gateway can perform targeted control based on the access of the security management application client.

[0053] Step S203, the application gateway determines a target access policy for the target application based on the matching result of the target application domain name of the target application in the first configuration file, and controls the terminal device where the security management application client is located to access the target application based on the target access policy.

[0054] Among them, the first configuration file is used to characterize the correspondence between the application domain name and the access policy, and the first configuration file is provided by the security management application server. That is, different access policies are configured for different application domain names in advance in the security management application server, and the first configuration file is obtained, and it is sent to the application gateway, so that after receiving the target application domain name, the application gateway can perform targeted control according to the first configuration file obtained in advance, thereby improving the security and performance of the access control system. For example: the content of the access policy may include: setting different access control lists for different application domain names, and then limiting the access rights of specific IP address ranges or user groups to resources through the corresponding access control lists. Alternatively, the content of the access policy may include: setting different security policies for different domain names, such as firewall rules, intrusion detection systems, etc., to protect the system from malicious attacks. Alternatively, the content of the access policy may include: distributing requests to different security management application servers according to the domain name resolution results to achieve load balancing and improve the performance and reliability of the system.

[0055] Since the same IP address may be shared by multiple websites or forged by malicious attackers, resulting in access policy errors, determining the target access policy through domain name resolution can ensure that the determined target access policy is more reliable.

[0056] After obtaining the target application domain name, the application gateway matches the target application domain name with the multiple application domain names in the first configuration file to determine whether there is an application domain name that matches the target application domain name among the multiple application domain names in the first configuration file, and then obtains a matching result. When the matching result indicates that there is an application domain name that matches the target application domain name among the multiple application domain names, the access policy corresponding to the application domain name that matches the target application domain name can be used as the target access policy, and then the terminal device where the security management application client is located is controlled to access the target application according to the target access policy, which can make the access control process more targeted, thereby making access safer and helping to ensure data security.

[0057] The access control method for applications provided in this embodiment determines the target access policy for the target application by means of domain name resolution, which can effectively avoid the occurrence of misidentification or missed identification, and then controls the access of the terminal device where the security management application client is located to the target application based on the target access policy, which can make the access control process more targeted, thereby effectively improving application access security and ensuring data security.

[0058] In some optional embodiments, in the process of the application gateway controlling the terminal device where the security management application client is located to access the target application based on the target access policy, if the target access policy is a first target access policy, the application gateway sends a first access resource to the security management application client to prevent the terminal device where the security management application client is located from accessing the target application.

[0059] The first target access policy may be understood as a policy for preventing the terminal device where the security management application client is located from accessing the target application. The first access resource may be a preset access resource for prompting that the access request is an invalid request.

[0060] When the application gateway determines that the target access policy corresponding to the target application is the first target access policy, it can be determined that the target application is an object that is prohibited from access. Therefore, in order to save the waiting time of the security management application client, the first access resource is sent to the security management application client to prevent the terminal device where the security management application client is located from accessing the target application. This can not only effectively reduce the risks of data leakage, unauthorized access, etc., and improve data security, but also help to improve network performance and reduce the number of polling times.

[0061] In some optional implementation scenarios, the first access resource may be a prompt page with an invalid request mark, which is then sent to the security management application client, so that the prompt of preventing the terminal device where the security management application client is located from accessing the target application is more intuitive and clear. For example, the content of the invalid request mark may include "access error" or "target application has been disabled", etc., which can be set according to needs. In other optional examples, the first access resource may also be other forms of access blocking information, such as a pop-up prompt window or an error code.

[0062] In some optional implementations, after sending the first access resource to the security management application client, the application gateway sends access blocking information to the security management application server to prompt the terminal device where the security management application client is located that access to the target application is blocked. That is, in order to enable the security management application client to clearly understand that the target application is an object that is not allowed to be accessed, the access blocking information is sent to the security management application server to prevent the security management application client from sending an access request again, thereby helping to improve the management reliability of the security management application server, facilitating the subsequent unified management of the security management application client, and thus effectively improving data security.

[0063] The security management application server receives and saves access blocking information to record the event that the security management application client requests to access the target application and is blocked from access. In some optional examples, after the application gateway sends the first access resource to the security management application client, it starts a scheduled task according to a preset period to send access blocking information in a scheduled manner to ensure that the security management application server can promptly clarify the access status of multiple security management application clients, facilitate subsequent targeted control of access, and thus improve application access security. Among them, the scheduled task refers to a task used to periodically send access blocking information to the security management application server.

[0064] In this embodiment, an access control method for an application is provided, which is applied to an access control system. Figure 4 is a flow chart of an access control method for an application according to an embodiment of the present disclosure, such as Figure 4 As shown, the process includes the following steps:

[0065] Step S401: After the security management application client detects an access request from its own terminal device to a target application, it generates a domain name resolution request and sends the domain name resolution request to a central domain name system.

[0066] Step S402: The central domain name system performs domain name resolution on the domain name resolution request, obtains the domain name resolution result, and sends it to the application gateway.

[0067] Step S403: The application gateway determines a target access policy for the target application based on a matching result of the target application domain name in the first configuration file.

[0068] Step S404: the application gateway controls the terminal device where the security management application client is located to access the target application based on the target access policy.

[0069] Specifically, the above step S404 includes:

[0070] Step S4041: If the target access policy is the second target access policy, the application gateway sends a second access resource to the security management application client to allow the terminal device where the security management application client is located to access the target application.

[0071] The second target access policy can be understood as a policy for allowing the terminal device where the security management application client is located to access the target application. The second access resource can be understood as an access resource in the target application that can meet the access requirements corresponding to the access request.

[0072] When the application gateway determines that the target access policy corresponding to the target application accessed by the terminal device where the security management application client is located is the second target access policy, it can be determined that the target application is an object that is allowed to be accessed. Therefore, in order to meet the access requirements of the security management application client, the application gateway sends the second access resource to the security management application client so that the security management application client can access the target application, thereby realizing the access function.

[0073] In some other optional implementations, the above step S404 further includes:

[0074] Step S4042: In the application gateway, the application access permission of the terminal device where the security management application client is located to access the target application is determined through a preset second configuration file.

[0075] In order to improve data security and reduce the possibility of tampering or leakage, the application access rights of the terminal device where the security management application client is located to access the target application are determined through the preset second configuration file, so as to control the access of the security management application client to the target application through access rights control. Among them, the second configuration file is used to characterize the corresponding relationship between the application access rights of the same application and multiple security management application clients, and the second configuration file is provided by the security management application server. For example, the application access rights can be any one or more of the following access rights: allow downloading, do not allow downloading, allow reading, do not allow writing, etc.

[0076] Step S4043: The application gateway controls the terminal device where the security management application client is located to access the target application according to the application access rights.

[0077] The application gateway controls the secure management of the application client's terminal device access to the target application according to the application access rights, which can effectively ensure access security and reduce the risk of unauthorized access, thereby helping to improve reliability and security.

[0078] The access control method for applications provided in this embodiment, when the application gateway determines that the target application is an object that can be accessed, controls the terminal device where the security management application client is located to access the target application by sending a second access resource to the security management application client, which can meet the access requirements of the security management application client. In addition, by means of permission control, the application access rights of the target application are limited, which can ensure the access security of the security management application client. At the same time, it can also ensure that the security management application client can access according to the specified application permissions, thereby helping to improve reliability and security.

[0079] In some optional implementations, the above-mentioned access control method for applications further includes:

[0080] In step S405, the application gateway determines the target information acquisition type corresponding to the second target access policy, and acquires the target access information corresponding to the target application according to the target information acquisition type during the process of the terminal device where the security management application client is located accessing the target application.

[0081] In order to ensure access security, when an abnormality occurs in the security management application client, the cause of the abnormality can be quickly located. The application gateway determines the target information acquisition type corresponding to the second target access policy, so that in the subsequent process of controlling the terminal device where the security management application client is located to access the target application, the access process can be managed in a targeted manner. For example: the target information acquisition type may include the account that sends the access request, the trigger time of the access request, the device information corresponding to the security management application client, the specific name corresponding to the access, etc., which can be set according to the needs.

[0082] In some optional examples, the target information acquisition type is determined by a third configuration file, the third configuration file is used to characterize the correspondence between the target access policy and the information acquisition type, and the third configuration file is provided by the security management application server. In other optional examples, the target information acquisition type can also be determined by database query or network request.

[0083] In order to ensure the security and compliance of access, when the terminal device where the security management application client is located accesses the target application, the application gateway obtains the target access information corresponding to the target application, so that relevant access control analysis can be performed later, which is convenient for timely identification and response to potential security risks, thereby improving the effectiveness of access control on the target application. Among them, the target access information is the access information corresponding to the target information acquisition type. The relevant access control analysis can include but is not limited to tracking access behavior, conducting audits and risk analysis, etc.

[0084] Step S406: The application gateway sends the target access information to the security management application server.

[0085] Step S407: The security management application server saves the received target access information.

[0086] The security management application server saves the received target access information to meet the needs of enterprise-level applications for targeted management of their own data, thereby helping to improve data security and manageability and ensure the integrity and consistency of target access information.

[0087] The access control method for applications provided in this embodiment obtains target access information when it is determined that the security management application client can access the target application. When an exception occurs in the security management application client, the cause of the exception can be quickly located, and the reliability of the analysis results can be guaranteed during subsequent access control analysis, thereby helping to improve the effectiveness of access control on the application to be accessed.

[0088] In some optional implementations, the security management application server is connected to the security management application client through a root certificate so that the security management application client can be trusted by the security management application server; the security management application server is connected to the application gateway through an intermediate certificate so that the application gateway can communicate with the security management application server and the security management application client. The root certificate and the intermediate certificate are pre-configured by the management platform corresponding to the security management application server.

[0089] In order to facilitate the security management application client to clearly identify the applications that need to be access controlled, so that the application gateway can perform targeted control on the access to the terminal device where the security management application client is located, the first configuration file is configured for the security management application server through the management platform corresponding to the security management application server, and the configured first configuration file is sent to the security management application client and the application gateway, so that the information between the security management application server, the security management application client and the application gateway can be synchronized. The first configuration file includes an application domain name set, and the application domain name set includes application domain names of multiple applications and corresponding wildcard domain names. The use of wildcard domain names can capture more possible variants or related subdomains, reducing the occurrence of missed identification or misidentification. Therefore, adding the application domain name corresponding to the application that needs to be access controlled and the corresponding wildcard domain name to the application domain name set in advance can cover the domain names that may be used by the application as comprehensively as possible, thereby improving the accuracy of identification, reducing the occurrence of missed identification or misidentification, and thus helping to improve the reliability of application access control.

[0090] In order to facilitate the security management application client to clarify whether the target application requested to be accessed by its terminal device requires access control, the security management application client determines the target application domain name of the application to be accessed after detecting the access request for the target application from its terminal device; if an application domain name or a wildcard domain name matching the target application domain name is matched in the application domain name set, the application to be accessed is determined to be the target application, and a domain name resolution request is generated, and the target application is the application corresponding to the application domain name or the wildcard domain name matching the target application domain name; if an application domain name or a wildcard domain name matching the target application domain name is not matched in the application domain name set, the application to be accessed is determined to be a non-target application, and an access prompt message is generated for display on the terminal device where the security management application client is located, indicating that the access request is an invalid request.

[0091] That is, when the security management client detects the access request initiated by the terminal device, it parses the access request to determine the target application domain name of the application to be accessed. To determine whether the access request is a valid request, the target application domain name is matched with multiple application domain names and wildcard domain names in the application domain name set to obtain a matching result. If an application domain name or wildcard domain name matching the target application domain name is matched in the application domain name set, it indicates that the access request is a valid request. Therefore, the application to be accessed is determined to be the target application, and a domain name resolution request is generated to perform targeted access control through the application gateway. Among them, the target application is the application corresponding to the application domain name or wildcard domain name matching the target application domain name. If the application domain name or wildcard domain name matching the target application domain name is not matched in the application domain name set, it indicates that the access request is an invalid request, and it can be determined that the application to be accessed is a non-target application. Therefore, access prompt information is generated to display the access prompt information on the terminal device where the security management application client is located, prompting that the access request is an invalid request, thereby saving the time for the terminal device to wait for a response. Identification by matching domain names or wildcard domain names can be quickly screened, which helps to improve the efficiency of access control for target applications.

[0092] In other optional implementations, when the security management application client sends a domain name resolution request to the central domain name system, the mirror file of the domain name resolution request is sent to the central domain name system so that the central domain name system can analyze the mirror file and obtain more information about the domain name resolution request, such as the frequency, source, and purpose of the domain name resolution request, which helps to optimize the domain name resolution service provided by the central domain name system and improve its performance and reliability. In addition, by transmitting the mirror file, interacting with the central domain name system can reduce the occurrence of abnormalities in the original domain name resolution request, thereby helping to ensure the security of the domain name resolution request.

[0093] As one or more specific application embodiments of the embodiments of the present disclosure, the interactive process of controlling the terminal device where the security management application client is located to access the target application through the access control system can be as follows: Figure 5 As shown, including:

[0094] Relevant management certificates and configuration files for access control of multiple applications are configured in the security management application server. The relevant management certificates include the root certificate sent to the security management application client and the gateway intermediate certificate sent to the application gateway. The configuration files include the first configuration file, the second configuration file and the third configuration file. The first configuration file is used to characterize the correspondence between the application domain name and the access policy. The second configuration file is used to characterize the correspondence between the same application and the application access rights of multiple security management application clients. The third configuration file is used to characterize the correspondence between the target access policy and the information acquisition type.

[0095] The security management application server sends the configuration file and root certificate to the security management application client so that the security management application client can be trusted by the security management application server, and sends the configuration information to the security management application client to ensure that the security management application client can access the target application in a targeted manner according to the corresponding relationship specified by the configuration file.

[0096] The security management application server sends the configuration file and the intermediate certificate to the application gateway to synchronize the information with the security management application server and the security management application client, thereby ensuring that the application gateway can perform targeted control on the access to the target application according to the corresponding relationship specified in the configuration file.

[0097] When the security management application client detects an access request from its terminal device to the target application, it generates a domain name resolution request and sends the domain name resolution request to the central domain name system.

[0098] The central domain name system performs domain name resolution on the received domain name resolution request to obtain the target application domain name of the target application.

[0099] The central domain name system sends the target application domain name to the application gateway, and synchronizes the target application domain name to the security management application server, so that the security management application server can clearly know that the security management application client currently needs to access the target application.

[0100] The application gateway determines the target access policy for the target application based on the matching result of the target application domain name in the first configuration file. If the target access policy is the first target access policy, the application gateway sends a prompt page with an invalid request flag to the security management application client, and sends access blocking information to the security management application server to prompt that the terminal device where the security management application client is located is blocked from accessing the target application.

[0101] If the target access policy is the second target access policy, the application gateway sends the access resources in the target application that can meet the access requirements corresponding to the access request to the security management application client, and in the process of the terminal device where the security management application client is located accessing the target application, the target access information corresponding to the target application is obtained according to the target information acquisition type corresponding to the second target access policy, and the target access information is sent to the security management application server. The security management application server saves the received target access information.

[0102] Through the access control method for applications provided by the present disclosure, domain name resolution and forward proxy technology can be used to identify the cloud security management application server-based application to be accessed through domain names and wildcard domain names, thereby helping to improve the coverage and accuracy of detection. In addition, different access policies are configured for different domain names, which can make access control more flexible and reliable, thereby effectively improving application access security and data security.

[0103] Based on the same inventive concept, an access control system is also provided in this embodiment, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the system described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0104] This embodiment provides an access control system, combined with Figure 1 The system architecture shown includes:

[0105] The security management application client 110 is used to generate a domain name resolution request after detecting an access request from the terminal device to the target application, and send the domain name resolution request to the central domain name system 130;

[0106] The central domain name system 130 is used to perform domain name resolution on the access request, obtain the domain name resolution result, and send it to the application gateway 140;

[0107] The application gateway 140 is used to receive the target application domain name, determine the target access policy for the target application based on the matching result of the target application domain name in the first configuration file, and control the terminal device where the security management application client 110 is located to access the target application based on the target access policy, wherein the first configuration file is used to characterize the correspondence between the application domain name and the access policy, and the first configuration file is provided by the security management application server 120;

[0108] The security management application server 120 is used to store the first configuration file.

[0109] In some optional implementations, the application gateway 140 is used to send a first access resource to the security management application client 110 to prevent the terminal device from accessing the target application when the target access policy is the first target access policy.

[0110] In some optional implementations, the application gateway 140 is further used to send access blocking information to the security management application server 120 to prompt the terminal device that access to the target application is blocked;

[0111] The security management application server 120 is used to receive and store access blocking information.

[0112] In some optional implementations, the application gateway 140 is used to start a scheduled task according to a preset period, and the scheduled task is used to send access blocking information to the security management application server.

[0113] In some optional implementations, the application gateway 140 is used to send a second access resource to the security management application client 110 when the target access policy is the second target access policy, so as to allow the terminal device where the security management application client is located to access the target application.

[0114] In some optional implementations, the application gateway 140 is further used to determine the application access rights of the terminal device where the security management application client is located to access the target application through a preset second configuration file, and control the terminal device where the security management application client is located to access the target application according to the application access rights, the second configuration file is used to characterize the corresponding relationship between the same application and the application access rights of multiple security management application clients 110, and the second configuration file is provided by the security management application server 120;

[0115] The application gateway 140 is also used to control the access of the terminal device where the security management application client 110 is located to the target application according to the application access rights.

[0116] In some optional implementations, the application gateway 140 is used to determine the target information acquisition type corresponding to the second target access policy, and in the process of the terminal device where the security management application client is located accessing the target application, obtain the target access information corresponding to the target application according to the target information acquisition type; and send the target access information to the security management application server 120;

[0117] The security management application server 120 is used to save the received target access information.

[0118] In some optional implementations, the target information acquisition type is determined by the application gateway 140 through a third configuration file, the third configuration file is used to characterize the correspondence between the target access policy and the information acquisition type, and the third configuration file is provided by the security management application server 120.

[0119] In some optional implementations, the security management application server is connected to the security management application client via a root certificate and is connected to the application gateway via an intermediate certificate;

[0120] The security management application server 120 is used to determine a first configuration file through a corresponding management platform, and send the first configuration file to the security management application client 110 and the application gateway 140 respectively, wherein the first configuration file includes an application domain name set, and the application domain name set includes application domain names of multiple applications and corresponding wildcard domain names;

[0121] The security management application client 110 is used to determine the target application domain name of the application to be accessed after detecting the access request initiated by the terminal device where it is located; if an application domain name or a wildcard domain name matching the target application domain name is matched in the application domain name set, the application to be accessed is determined to be the target application, and a domain name resolution request is generated, and the target application is the application corresponding to the application domain name or the wildcard domain name matching the target application domain name; if an application domain name or a wildcard domain name matching the target application domain name is not matched in the application domain name set, the application to be accessed is determined to be a non-target application, and an access prompt information is generated to be displayed on the terminal device where the security management application client is located, indicating that the access request is an invalid request.

[0122] In some optional implementations, the security management application client 110 includes:

[0123] A creation unit, used to create a mirror file of a domain name resolution request;

[0124] The file sending unit is used to send the mirror file to the central domain name system 130.

[0125] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0126] The access control system in this embodiment is presented in the form of functional units, where the units refer to ASIC (Application Specific Integrated Circuit) circuits, processors and memories that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0127] The present disclosure also provides a computer device having the above Figure 1 The access control system shown.

[0128] See also Figure 6 , Figure 6 is a schematic diagram of a computer device provided by an optional embodiment of the present disclosure, such as Figure 6 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a security management application server array, a group of blade-type security management application servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.

[0129] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0130] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0131] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0132] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0133] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0134] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device may be a touch screen.

[0135] The embodiments of the present disclosure also provide a computer-readable storage medium. The above-mentioned method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium and downloaded through a network, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0136] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0137] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0138] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, security management application server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0139] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0140] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0141] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. An access control method for applications, It is characterized in that Applied to an access control system, the access control system includes a security management application client, a security management application server, a central domain name system and an application gateway, wherein the security management application client is deployed on a terminal device within the enterprise, the security management application server is used to manage the security management application client and the application gateway, the security management application server is connected to the security management application client through a root certificate, the security management application server is connected to the application gateway through an intermediate certificate, and the security management application server sends a first configuration file, a second configuration file and a third configuration file to the application gateway, the first configuration file is used to characterize the correspondence between the application domain name and the access policy, the second configuration file is used to characterize the correspondence between the same application and the application access rights of multiple security management application clients, and the third configuration file is used to characterize the correspondence between the target access policy and the information acquisition type; the method includes: After the security management application client detects an access request from the terminal device where the client is located for the target application, the client generates a domain name resolution request and sends the domain name resolution request to the central domain name system; The central domain name system performs domain name resolution on the domain name resolution request, obtains a domain name resolution result, and sends it to the application gateway; The application gateway determines a target access policy for the target application based on a matching result of the target application domain name of the target application in the first configuration file, and controls the terminal device where the security management application client is located to access the target application based on the target access policy; Wherein, the controlling the terminal device where the security management application client is located to access the target application based on the target access policy includes: if the target access policy is a second target access policy, the application gateway sends a second access resource to the security management application client to allow the terminal device where the security management application client is located to access the target application; in the application gateway, determining the application access rights of the terminal device where the security management application client is located to access the target application through a preset second configuration file; and the application gateway controls the terminal device where the security management application client is located to access the target application according to the application access rights; The method also includes: the application gateway determines the target information acquisition type corresponding to the second target access policy, and in the process of the terminal device where the security management application client is located accessing the target application, obtains the target access information corresponding to the target application according to the target information acquisition type; and the application gateway sends the target access information to the security management application server; the security management application server saves the received target access information; wherein, the target information acquisition type is determined by the application gateway through a third configuration file.

2. The method according to claim 1, It is characterized in that The application gateway controls the terminal device where the security management application client is located to access the target application based on the target access policy, including: If the target access policy is the first target access policy, the application gateway sends a first access resource to the security management application client to prevent the terminal device from accessing the target application.

3. The method according to claim 2, It is characterized in that The method further comprises: The application gateway sends access blocking information to the security management application server to prompt the terminal device that access to the target application is blocked; The security management application server receives and stores the access blocking information.

4. The method according to claim 3, It is characterized in that The application gateway sends access blocking information to the security management application server, including: In the application gateway, a scheduled task is started according to a preset period, and the scheduled task refers to a task for sending access blocking information to the security management application server at a scheduled time.

5. The method according to claim 1, It is characterized in that The method further comprises: The security management application server determines the first configuration file through the corresponding management platform, and sends the first configuration file to the security management application client and the application gateway respectively, the first configuration file includes an application domain name set, the application domain name set includes application domain names of multiple applications and corresponding wildcard domain names, the multiple applications are applications that require access control, and the wildcard domain name is used to capture variants or related subdomain names of the corresponding application domain name; After the security management application client detects an access request from the terminal device where the client is located for the target application, it generates a domain name resolution request, including: In the security management application client, after detecting the access request initiated by the terminal device where the client is located, the target application domain name of the application to be accessed is determined; If an application domain name or wildcard domain name matching the target application domain name is matched in the application domain name set, it is determined that the application to be accessed is the target application, and a domain name resolution request is generated to perform targeted access control through the application gateway, and the target application is the application corresponding to the application domain name or wildcard domain name matching the target application domain name; If no application domain name or wildcard domain name matching the target application domain name is found in the application domain name set, the application to be accessed is determined to be a non-target application, and access prompt information is generated for display on the terminal device where the security management application client is located, indicating that the access request is an invalid request.

6. The method according to claim 5, It is characterized in that The process of the security management application client sending the domain name resolution request to the central domain name system includes: In the security management application client, creating a mirror file of the domain name resolution request; The image file is sent to the central domain name system.

7. An access control system, It is characterized in that The access control system includes a security management application client, a security management application server, a central domain name system and an application gateway, wherein the security management application client is deployed on a terminal device within the enterprise, the security management application server is used to manage the security management application client and the application gateway, the security management application server is connected to the security management application client through a root certificate, the security management application server is connected to the application gateway through an intermediate certificate, and the security management application server sends a first configuration file, a second configuration file and a third configuration file to the application gateway, the first configuration file is used to characterize the correspondence between the application domain name and the access policy, the second configuration file is used to characterize the correspondence between the same application and the application access rights of multiple security management application clients, and the third configuration file is used to characterize the correspondence between the target access policy and the information acquisition type; the system includes: The security management application client is used to generate a domain name resolution request after detecting an access request from the terminal device where the client is located for the target application, and send the domain name resolution request to the central domain name system; The central domain name system is used to perform domain name resolution on the domain name resolution request, obtain the domain name resolution result, and send it to the application gateway; The application gateway is used to determine the target access policy for the target application based on the matching result of the target application domain name of the target application in the first configuration file, and control the terminal device where the security management application client is located to access the target application based on the target access policy, and the control of the terminal device where the security management application client is located to access the target application based on the target access policy includes: if the target access policy is the second target access policy, the application gateway sends a second access resource to the security management application client to allow the terminal device where the security management application client is located to access the target application; in the application gateway, determine the application access rights of the terminal device where the security management application client is located to access the target application through the preset second configuration file; the application gateway controls the terminal device where the security management application client is located to access the target application according to the application access rights; The security management application server is used to store the first configuration file; Among them, the application gateway is also used to determine the target information acquisition type corresponding to the second target access policy, and in the process of the terminal device where the security management application client is located accessing the target application, obtain the target access information corresponding to the target application according to the target information acquisition type; and the application gateway sends the target access information to the security management application server; wherein, the target information acquisition type is determined by the application gateway through a third configuration file; the security management application server is also used to save the received target access information.

8. A computer device, It is characterized in that include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the access control method for an application described in any one of claims 1 to 6 by executing the computer instructions.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the access control method for applications according to any one of claims 1 to 6.

10. A computer program product, It is characterized in that The method comprises computer instructions, wherein the computer instructions are used to cause a computer to execute the access control method for an application according to any one of claims 1 to 6.