Data dynamic access control method supporting multi-link transmission and multi-level inheritance
By defining multi-dimensional attributes and access policy rules, constructing an access control policy tree, and using XACML flow model and machine learning algorithms, dynamic data access control with multi-link transmission and multi-level inheritance is realized, solving data leakage and permissions in the existing technology Management problems improve system security and flexibility.
Patent Information
- Application Number
- CN202410968421.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-11-19
AI Technical Summary
The existing technology cannot effectively realize dynamic data access control of multi-link transmission and multi-level inheritance, resulting in difficult data leakage and access rights, especially in complex application scenarios that cannot meet dynamic protection needs.
By defining multi-dimensional attributes, user attribute trees and access policy rules, an access control policy tree based on algebraic expressions is constructed, and the XACML flow model is used to achieve automatic generation and dynamic changes of permissions, combining tree structures and machine learning algorithms for horizontal dynamics of permissions Passing and vertical dynamic inheritance.
It realizes extended protection of terminal data, fine-grained and dynamic changes in permissions, prevents excessive authorization and over-authorization access, improves the intelligence and automation level of access control, simplifies permission management, and improves the security and flexibility of the system.
Smart Images

Figure CN118981786A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data information access control, and in particular relates to a data dynamic access control method supporting multi-link transmission and multi-level inheritance. Background Art
[0002] At present, the world has entered the "data-driven" era, and the value of data is becoming increasingly prominent. Under the background of digital transformation, various personnel often use remote terminals to perform data analysis, data product development, etc. Once the end user obtains data access rights, the middle platform cannot restrict the end user's data viewing and copying behavior. At the same time, data cross-access and data sharing are complex, and hidden malicious behaviors against data are difficult to discover. Data is likely to be maliciously copied and screenshotted, resulting in data leakage. Therefore, data security and access control have become one of the key research areas. The current protection measures can only achieve static access control and internal circulation protection, and cannot extend the control and protection of user access behavior. Moreover, they often only support the transmission of a single link and the inheritance of a single level, and cannot meet the needs of multi-link transmission and multi-level inheritance in complex application scenarios. Therefore, it is of great significance to design a data dynamic access control model that supports multi-link transmission and multi-level inheritance.
[0003] A Chinese patent with publication number CN105592066B discloses a resource access control method and device. The method includes: the access device records the mapping relationship between the attributes of the terminal public table items and the public resources that the terminal user is allowed to access in the hardware memory; the access device receives the resource access request sent by the terminal, finds the terminal public table items corresponding to the terminal in the hardware memory, and determines the public resources that the terminal user is allowed to access based on the mapping relationship between the attributes of the terminal public table items and the public resources that the terminal user is allowed to access; the access device determines whether the public resources to be accessed by the resource access request are included in the determined public resources that the terminal user is allowed to access, and if so, forwards the resource access request; otherwise, discards the resource access request. This invention controls access based on predefined attributes and rules, and cannot be dynamically adjusted or changed according to specific user behavior. It is difficult to flexibly extend to dynamic control and protection of user behavior changes, and has limitations when facing complex application scenarios with multi-link transmission and multi-level inheritance. Summary of the invention
[0004] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides a data dynamic access control method that supports multi-link transmission and multi-level inheritance, thereby realizing extended protection of terminal data and multi-link horizontal dynamic transmission and multi-level vertical dynamic inheritance of access control permissions under tree rules.
[0005] To achieve the above object, the present invention adopts the following technical solution:
[0006] The present invention provides a data dynamic access control method supporting multi-link transmission and multi-level inheritance, comprising the following steps:
[0007] Define multi-dimensional attributes, user attribute trees, and access policy rules.
[0008] Construct an access control policy tree based on algebraic expressions according to access policy rules.
[0009] Dynamic changes of permissions under the tree structure are achieved based on the principle of least privilege.
[0010] The access policy is automatically generated based on the XACML flow model.
[0011] The tree structure characteristics and attribute relationship rules of the user attribute tree are used to realize the horizontal dynamic transfer and vertical dynamic inheritance of access control permissions.
[0012] Preferably, the multidimensional attributes are defined as follows:
[0013] The access request entity and resource formal specifications are described as subject and object, and the attribute definition is divided according to subject and object.
[0014] Multidimensional attributes store attribute information in the form of key-value, that is, attribute name-attribute value.
[0015] Preferably, the user attribute tree is defined as follows:
[0016] Defines user principal attributes that are used to describe the user who uses the system.
[0017] Determine the height of the user attribute tree, clarify the number of layers from the root node to the leaf node, and design the node hierarchy to reflect the hierarchy and dependency between attributes.
[0018] Determine the path from the user name attribute node to the root node.
[0019] The leaf nodes of the user name attribute node in the user attribute tree are determined, and the leaf nodes of the user are the classifications of the user under different projects, roles or responsibilities.
[0020] The access policy rules are defined as follows:
[0021] Access policy rules are defined as fine-grained access policies obtained by combining attribute information with rules using algebraic expressions composed of Boolean operators.
[0022] Preferably, constructing an access policy control tree based on an algebraic expression according to the access policy rules is specifically as follows:
[0023] The access policy rules are described using a tree structure. Each non-leaf node in the tree structure is a Boolean operator, and the leaf nodes represent attributes.
[0024] Preferably, the dynamic change of permissions under the tree structure based on the principle of least privilege is implemented as follows:
[0025] The minimum set related to the target node in the access control policy tree is found through a bottom-up approach, and it is changed to achieve fine-grained, one-to-many dynamic change of permissions. The target node is the leaf node corresponding to the permission that needs to be modified.
[0026] Preferably, the minimum set related to the target node in the access control policy tree is found through a bottom-up approach, and the minimum set is changed, and the principle of least privilege is implemented according to the subset coverage method, specifically:
[0027] S1: Initialize the access control policy tree, given the target node and attribute changes.
[0028] S2: Use the subset covering method to find the path from the target node to the root node from bottom to top.
[0029] S3: Find the specific location that needs to be changed in the access control policy tree, adjust the value of the relevant node, and re-verify the modified access control policy tree.
[0030] Preferably, the XACML data flow model consisting of a policy execution point, a policy decision point, a policy management point, a policy information point, and a context processor automatically generates access policies, specifically:
[0031] A1: The policy management point converts all access control policy trees into required access policies, where the access policies are described using the XACML language.
[0032] A2: After the principal user initiates an access request, the policy execution point intercepts the access control request sent by the principal user.
[0033] A3: The policy enforcement point sends the intercepted access control request to the context processor, which unifies the request into an access control request in XACML format.
[0034] A4: The context processor sends the generated access control request in XACML format to the access control decision point, requesting the access control decision point to make an access control decision.
[0035] A5: The access control decision point needs to query attribute information when processing access control decisions and sends the attribute query request to the context processor.
[0036] A6: The context processor sends an attribute query request to the policy information point according to the type of the attribute query request.
[0037] A7: The policy information point requests different attribute information from different entities according to the attribute query request and returns the obtained information to the context processor.
[0038] A8: The context processor sends attribute information and context information of the resource to the policy decision point.
[0039] A9: The policy decision point makes access control decisions based on policy information, attribute information, and context information of resources, and returns the decision results to the context processor.
[0040] A10: The context processor returns the decision result to the policy execution point to execute the corresponding decision result.
[0041] Preferably, the tree structure characteristics of the user attribute tree are utilized. When faced with complex attribute relationship rules, the user attribute tree is analyzed through machine learning methods, and the hierarchical relationship representation between the two is calculated. According to the obtained hierarchical relationship representation between the subjects and the structural rules of the access policy control tree, permission changes are made, that is, permission transfers between the same layer and permission inheritance between upper and lower layers, so as to realize horizontal dynamic transfer and vertical dynamic inheritance of access control permissions.
[0042] On the other hand, the present invention also provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the data dynamic access control method supporting multi-link transmission and multi-level inheritance as described in any embodiment of the present invention.
[0043] On the other hand, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the data dynamic access control method supporting multi-link transmission and multi-level inheritance as described in any embodiment of the present invention.
[0044] Compared with the prior art, the present invention has the following technical effects:
[0045] The present invention proposes a data dynamic access control method that supports multi-link transmission and multi-level inheritance. The method can realize extended protection of terminal data usage, realize fine-grained, one-to-many dynamic changes in data terminal usage permissions, and prevent excessive authorization, unauthorized access, etc. It realizes dynamic changes in terminal data permissions, multi-link horizontal dynamic transmission of access control permissions, and multi-level vertical dynamic inheritance, effectively improving the intelligence and automation level of access control. It not only simplifies the complexity of permission management, but also improves the security and flexibility of the system, and is suitable for various scenarios that require fine access control. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is an overall flow chart of the data dynamic access control method supporting multi-link transmission and multi-level inheritance described in the present invention;
[0047] Figure 2 is a schematic diagram of the access control process described in the present invention;
[0048] Figure 3 is a schematic diagram of XACML access policy control according to the present invention;
[0049] Figure 4 It is a schematic diagram of the dynamic change of permissions, permission transfer and inheritance process described in the present invention. DETAILED DESCRIPTION
[0050] In order to make the objectives, technical solutions and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in combination with specific embodiments of the present application and with reference to the accompanying drawings.
[0051] Example
[0052] This embodiment provides a data dynamic access control method that supports multi-link transmission and multi-level inheritance, including the following three aspects: 1. Multi-dimensional attribute and policy rule definition, tree-type access policy construction based on algebraic expressions; 2. Dynamic change of permissions under the tree structure is achieved through minimum permission subset search, and automatic generation of policies is completed based on the eXtensible Access Control Markup Language (XACML); 3. Using tree structure characteristics and attribute relationship rules, the horizontal transmission and vertical dynamic inheritance of access control permissions are achieved based on machine learning algorithms. Figure 1 As shown, the following steps are included:
[0053] Define multi-dimensional attributes, user attribute trees, and access policy rules.
[0054] As a preferred implementation of this embodiment, the multi-dimensional attributes are defined as follows:
[0055] The access request entity and resource formal specifications are described as subject and object, and the attribute definition is divided according to subject and object.
[0056] Multidimensional attributes are a set of attributes used to describe the complex relationships between data objects. They are used to describe the objective characteristics of subjects and objects. They are a unified name for objective characteristics. Attributes store attribute information in the form of key-value, i.e., attribute name-attribute value.
[0057] As a preferred implementation of this embodiment, the user attribute tree is defined as follows:
[0058] Define user subject attributes to describe the user who uses the system. The user subject attributes may include user identity information (such as name, department, position, etc.), security level, etc. These multi-dimensional attributes are the basis for building a user attribute tree.
[0059] Determine the height of the user attribute tree in the enterprise or organization, clarify the number of layers from the root node to the leaf node, and design the node hierarchy to reflect the hierarchy and dependency between attributes.
[0060] Determine the path from the user node (user name attribute) to the root node, which usually represents the highest level of division of the enterprise or organization.
[0061] Determine the leaf nodes of the user attribute tree. The leaf nodes of the user represent the classification of the user under different projects, roles or responsibilities.
[0062] Furthermore, as the user's attributes change or the organizational structure is adjusted, the attribute tree also needs to be updated and maintained accordingly. Specific operations may include adding new attributes, adjusting the grouping structure, or deleting no longer relevant attributes.
[0063] As a preferred implementation of this embodiment, the access policy rules are defined as follows:
[0064] Access policy rules are defined as semantically rich, fine-grained access policies based on algebraic expressions, which are composed of AND, OR, and NOT Boolean operators, and are obtained by combining attribute information in a regular manner. By performing compound operations on multidimensional attributes through Boolean operators, access control rules with stronger semantic expressions can be implemented.
[0065] Construct an access policy control tree based on algebraic expressions according to access policy rules.
[0066] As a preferred implementation of this embodiment, the access policy control tree based on algebraic expressions is constructed according to the access policy rules as follows:
[0067] The access policy rules are described using a tree structure. Each non-leaf node in the tree structure is a Boolean operator, and the leaf nodes represent attributes.
[0068] Dynamic changes of permissions under the tree structure are achieved based on the principle of least privilege.
[0069] As a preferred implementation of this embodiment, the dynamic change of permissions in the tree structure based on the principle of least privilege is specifically as follows:
[0070] The minimum set related to the target node in the access control policy tree is found through a bottom-up approach, and it is changed to achieve fine-grained, one-to-many dynamic change of permissions. The target node is the leaf node corresponding to the permission that needs to be modified.
[0071] As a preferred implementation of this embodiment, the minimum set related to the target node in the access control policy tree is found through a bottom-up method, and it is changed. The principle of least privilege is implemented according to the subset coverage method. The specific changes are as follows:
[0072] S1: Initialize the access control policy tree, given the target node and attribute changes.
[0073] S2: Use the subset covering method to find the path from the target node to the root node from bottom to top. Specifically, analyze the traversed node set according to the attribute changes, and mark the minimum node set that can completely cover the permission change requirements of the target node. This set should contain enough information to accurately reflect the permission change, while reducing unnecessary nodes as much as possible.
[0074] S3: Find the specific location that needs to be changed in the access control policy tree. The location may be a leaf node (representing a specific access condition), an internal node (representing a logic gate), or an entire subtree. After adjusting the value of the relevant node, re-verify the modified access control policy tree. Specifically:
[0075] Adding leaf nodes: Add new leaf nodes under the appropriate logic gates to represent new access conditions.
[0076] Adding internal nodes: When more complex logical combinations are required, you can add new internal nodes and connect related child nodes.
[0077] Modify the attributes or values of the leaf nodes to reflect the new access conditions.
[0078] Modify the logic gate type of the internal node to change the logical relationship between the child nodes.
[0079] Delete leaf nodes or internal nodes that are no longer needed from the tree. Note that when deleting an internal node, its child nodes may need to be reconnected to maintain the integrity of the tree.
[0080] Change the connections between nodes to reflect new logical requirements, including rewiring nodes to different parent nodes or adjusting the order of nodes.
[0081] After each change, verify that the structure of the access control policy tree is still valid (for example, set the decision conditions to have no isolated nodes and all nodes are properly connected). If necessary, re-evaluate the entire access control policy tree or the affected subtree to ensure that the access policy still works as expected.
[0082] The access policy is automatically generated based on the XACML flow model.
[0083] As a preferred implementation of this embodiment, the XACML data flow model composed of a policy enforcement point (PEP), a policy decision point (PDP), a policy administration point (PAP), a policy information point (PIP), and a context handler (ContextHandler) is used to automatically generate access policies as follows:
[0084] After the construction of the access control policy tree based on algebraic expressions is completed, the access control policy tree is dynamically loaded and parsed to form XACML logical statements, and access policies are automatically generated. XACML can be used to express access policies, and the access control mechanism can determine the access to objects and attributes, so that various access policies can be simply and flexibly formulated in different environments. Dynamic loading of the access control policy tree to parse and form XACML logical statements is specifically as follows: define elements such as policies, rules, policy sets, goals, conditions, etc. in XACML format, and these elements are nodes that constitute the access control policy tree; traverse the access control policy tree, and for each node, generate corresponding XACML elements according to its attributes and child nodes to form XACML logical statements. This means that when an access request is made, the XACML data flow model loads the corresponding policies and rules according to the context information (environmental information, etc.) in the request. The access request is evaluated by traversing the access control policy tree, and the access control decision of allowing or denying is finally made according to the rules and conditions in the policy. Specifically, all modules in the entire XACML data flow model work in the XACML language.
[0085] A1: The policy management point converts all access control policy trees into the required access policies, which are described in XACML language and are the basis for access control decisions. This includes defining role attributes, scenario sets, resources and operations, and specifying the access relationships between them.
[0086] A2: In a specific application environment, after the subject user initiates an access request, the policy execution point intercepts the access control request sent by the subject user. The content and format of the access control request vary according to different applications.
[0087] A3: The policy enforcement point sends the intercepted access control request to the context processor, which unifies the request into an access control request in XACML format.
[0088] A4: The context processor sends the generated access control request in XACML format to the access control decision point, requesting the access control decision point to make an access control decision.
[0089] A5: The access control decision point may need other conditions when processing access control decisions, such as the attributes of the subject, the attributes of the resource, and the attributes of the environment. That is, it is necessary to query attribute information and send the attribute query request to the context processor.
[0090] A6: The context processor sends an attribute query request to the policy information point according to the type of the attribute query request.
[0091] A7: The policy information point requests different attribute information from different entities according to the attribute query request and returns the obtained information to the context processor, wherein the attribute information includes the attribute information of the subject, the attribute information of the environment and the attribute information of the resource.
[0092] A8: The context processor sends the attribute information and the context information of the resource (the context information of the resource is optional) to the policy decision point.
[0093] A9: The policy decision point makes access control decisions based on policy information, attribute information, and context information of resources, and returns the decision results to the context processor.
[0094] A10: The context processor returns the decision result to the policy execution point to execute the corresponding decision result. The returned decision result may be a rejection or a permission, or it may also carry corresponding responsibility information, such as the need for logging.
[0095] The tree structure characteristics and attribute relationship rules are used to realize the horizontal dynamic transfer and vertical dynamic inheritance of access control permissions.
[0096] As a preferred implementation mode of this embodiment, the tree structure characteristics of the user attribute tree are utilized. When faced with complex attribute relationship rules, the user attribute tree is analyzed through machine learning methods, and the hierarchical relationship representation between the two is calculated. According to the obtained hierarchical relationship representation between the subjects and the structural rules of the access policy control tree, permission changes are made, that is, permission transfers between the same layer and permission inheritance between upper and lower layers, so as to realize horizontal dynamic transfer and vertical dynamic inheritance of access control permissions.
[0097] Furthermore, in the specific implementation, first, multi-dimensional attributes are defined according to business requirements and access control scenarios. These attributes are stored in the form of key-value pairs to describe the objective characteristics of the subject and the object. Subsequently, a user attribute tree is constructed to organize users and their related attributes into a tree structure to facilitate the subsequent transfer and inheritance of permissions.
[0098] Introduce machine learning algorithms (such as graph neural networks and hierarchical clustering in deep learning) to automatically extract the subject attribute relationships in the user attribute tree. The algorithm analyzes the similarity and correlation between attributes and constructs a hierarchical representation between subjects. This step is the key to achieving horizontal dynamic transfer and vertical dynamic inheritance of permissions.
[0099] When a new user joins or the user's attributes change, the trained model is used to predict the permissions they should have. Based on the prediction results and combined with the access policy rules, the horizontal transfer and vertical inheritance of permissions are achieved.
[0100] Within the same level, permissions are transferred horizontally based on the prediction results of the machine learning model and the access policy rules. For example, employees in the same department can access certain shared resources. Between different levels, permissions are inherited vertically based on the hierarchical relationship of the user attribute tree. For example, the permissions of a superior can be partially or fully inherited to subordinates.
[0101] Finally, the prediction results of the machine learning model and the permission change decision are sent to the policy execution point to execute the corresponding access control decision. The system operation status and user feedback after the permission change are monitored and collected for subsequent model optimization and adjustment.
[0102] In order to verify the effectiveness and superiority of the method provided in this embodiment, some cases are provided below:
[0103] See also Figure 2 , Figure 3 As shown in the figure, after the tree-type access policy based on algebraic expressions is constructed, the policy management point uses the XACML language to define the access control policy. This includes defining role attributes, scenario sets, resources and operations, and specifying the access relationship between them. After the subject user initiates an access request, the policy execution point intercepts the access control request sent by the user, and the policy execution point sends the intercepted access control request to the context processor, which converts the request into XACML format and sends the request to the access control decision point to request access control decision; next, the access control decision point requests the subject and object attribute information from the policy information point through the context processor. The policy information point returns the subject and object attribute information to the access control decision point via the context processor. Finally, the policy decision point makes an access control decision based on the subject and object attribute information and the object access policy, and returns the result to the context processor, which executes the corresponding decision result via the policy execution point.
[0104] See also Figure 4 As shown, to achieve dynamic permission changes in a tree structure, the administrator uses the subset covering method to find the minimum set related to the target node in the binary tree, and changes it, thereby achieving fine-grained, one-to-many dynamic permission changes.
[0105] See also Figure 4 As shown, to achieve horizontal dynamic transfer and vertical dynamic inheritance of access control permissions under tree-type rules, the administrator extracts the subject attribute relationship through machine learning methods to obtain a hierarchical representation between subjects. According to the tree-type access policy rules, permissions are transferred between the same layer and inherited between upper and lower layers.
[0106] Embodiment 2
[0107] This embodiment provides an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the data dynamic access control method supporting multi-link transmission and multi-level inheritance as described in any embodiment of the present invention.
[0108] Embodiment 3
[0109] This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for dynamic data access control supporting multi-link transmission and multi-level inheritance as described in any embodiment of the present invention is implemented.
[0110] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.
[0111] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0112] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0113] In several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), disk or optical disk, and other media that can store program codes.
[0114] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. Supports dynamic data access control methods for multi-link transmission and multi-level inheritance, It is characterized in that The following steps are involved: Define multi-dimensional attributes, user attribute trees, and access policy rules; Construct an access control policy tree based on algebraic expressions according to access policy rules; Implement dynamic changes of permissions under the tree structure based on the principle of least privilege; Automatically generate access policies based on the XACML flow model; The tree structure characteristics and attribute relationship rules of the user attribute tree are used to realize the horizontal dynamic transfer and vertical dynamic inheritance of access control permissions.
2. The data dynamic access control method supporting multi-link transmission and multi-level inheritance according to claim 1, It is characterized in that The definition of multidimensional attributes is as follows: Describe the access request entity and resource formal specifications as subject and object, and divide the attribute definition into subject and object; Multidimensional attributes store attribute information in the form of key-value, that is, attribute name-attribute value.
3. The data dynamic access control method supporting multi-link transmission and multi-level inheritance according to claim 2, It is characterized in that Define the user attribute tree as follows: Define user subject attributes to describe the users who use the system; Determine the height of the user attribute tree, clarify the number of layers from the root node to the leaf node, and design the node hierarchy to reflect the hierarchy and dependency relationship between attributes; Determine the path from the user name attribute node to the root node; Determine the leaf nodes of the user name attribute node in the user attribute tree, where the user's leaf nodes are the classifications of the user under different projects, roles or responsibilities; Access policy rules are defined as fine-grained access policies obtained by combining attribute information with rules using algebraic expressions composed of Boolean operators.
4. The data dynamic access control method supporting multi-link transmission and multi-level inheritance according to claim 1, It is characterized in that The access policy control tree based on algebraic expressions is constructed according to the access policy rules as follows: The access policy rules are described using a tree structure. Each non-leaf node in the tree structure is a Boolean operator, and the leaf nodes represent attributes.
5. The data dynamic access control method supporting multi-link transmission and multi-level inheritance according to claim 1, It is characterized in that The dynamic change of permissions in the tree structure based on the principle of least privilege is as follows: Through a bottom-up approach, the minimum set related to the target node in the access control policy tree is found, and it is changed. The principle of least privilege is implemented according to the subset coverage method, thereby realizing fine-grained, one-to-many dynamic change of permissions. The target node is the leaf node corresponding to the permission that needs to be modified.
6. The data dynamic access control method supporting multi-link transmission and multi-level inheritance according to claim 5, It is characterized in that Find the minimum set related to the target node in the access control policy tree through a bottom-up approach, change it, and implement the principle of least privilege based on the subset coverage method, specifically: S1: Initialize the access control policy tree, given the target node and attribute changes; S2: Use the subset covering method to find the path from the target node to the root node from bottom to top; S3: Find the specific location that needs to be changed in the access control policy tree, adjust the value of the relevant node, and re-verify the modified access control policy tree.
7. The data dynamic access control method supporting multi-link transmission and multi-level inheritance according to claim 1, It is characterized in that The XACML data flow model consisting of policy execution point, policy decision point, policy management point, policy information point, and context processor automatically generates access policies, specifically: A1: The policy management point converts all access control policy trees into required access policies, where the access policies are described in XACML language; A2: After the subject user initiates an access request, the policy execution point intercepts the access control request sent by the subject user; A3: The policy enforcement point sends the intercepted access control request to the context processor, which unifies the request into an access control request in XACML format. A4: The context processor sends the generated XACML format access control request to the access control decision point, requesting the access control decision point to make an access control decision; A5: The access control decision point needs to query attribute information when processing access control decisions and sends the attribute query request to the context processor; A6: The context processor sends an attribute query request to the policy information point according to the type of the attribute query request; A7: The policy information point requests different attribute information from different entities according to the attribute query request and returns the obtained information to the context processor; A8: The context processor sends attribute information and context information of resources to the policy decision point; A9: The policy decision point makes access control decisions based on policy information, attribute information, and resource context information, and returns the decision results to the context processor; A10: The context processor returns the decision result to the policy execution point to execute the corresponding decision result.
8. The data dynamic access control method supporting multi-link transmission and multi-level inheritance according to claim 1, It is characterized in that Taking advantage of the tree structure characteristics of the user attribute tree, when faced with complex attribute relationship rules, the user attribute tree is analyzed through machine learning methods, and the hierarchical relationship representation of the two is calculated. According to the obtained hierarchical relationship representation between the subjects and the structural rules of the access policy control tree, permission changes are made, that is, permission transfer between the same layer and permission inheritance between upper and lower layers, so as to realize the horizontal dynamic transfer and vertical dynamic inheritance of access control permissions.
9. An electronic device, the electronic device include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the data dynamic access control method supporting multi-link transmission and multi-level inheritance as described in any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the data dynamic access control method supporting multi-link transmission and multi-level inheritance as described in any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Data node information change permission determination method, storage medium and equipment
CN119377242A
A method, storage medium and device for determining data node information modification authority
CN119377242B
Data space-oriented multi-dimensional data access control method
CN120934823A
Multi-modal power grid data dynamic access control strategy and device based on tree structure
CN121351120A
