Account permission control method and device, medium and equipment
By building a graph database and identifying account permission anomalies, it solves the problems of permission anomalies and data leakage traceability in account permission management, achieving efficient management of account permissions and improving the security of data assets.
Patent Information
- Application Number
- CN202410503155.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2024-09-03
AI Technical Summary
Existing technology is difficult to effectively identify and manage abnormal account permissions, leading to the risk of data leakage, and it is impossible to trace the account that caused the leak.
By building a graph database and utilizing the permission relationship between the account permission table of the organizational structure and the management system or data assets, we can identify accounts with abnormal permissions and management systems or data assets, thereby achieving intuitive management of account permissions and improving the security of data assets.
It improves the efficiency of account permission management, can promptly identify and recover temporarily opened permissions, quickly locate suspicious accounts with data leakage, and ensure the security of data assets.
Smart Images

Figure CN118585973A
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to an account authority control method, device, medium and equipment. Background Art
[0002] There are multiple management systems within a company or enterprise, such as human resources management system, R&D system, procurement system, database system, backend management system, big data system, etc. Different employees' accounts have different permissions according to their positions and responsibilities.
[0003] The current account authority management method is to determine the corresponding authority according to the employee's position and responsibilities when initially applying for authority. Due to various reasons, employee authority abnormalities may occur. For example, due to operational errors, an employee is granted authority higher than his position when applying for authority, or an employee is temporarily given authority beyond his responsibilities due to work needs, but the authority is not revoked in time. Currently, there is no effective way to identify and manage account authority abnormalities. In addition, if risk issues such as data leakage occur, how to determine which accounts caused the leakage? There is currently no way to trace it back, posing a threat to the security of data assets. Summary of the invention
[0004] In view of this, the present application provides an account authority control method, device, medium and electronic device, the main purpose of which is to manage account authority.
[0005] According to one aspect of the present application, there is provided an account authority control method, comprising:
[0006] Obtain the account permission table of the organizational structure, and obtain the account permission information of all valid accounts in the organizational structure;
[0007] Performing data analysis on the account permission information to obtain the permission relationship of the account for the management system or data asset in each piece of account permission information;
[0008] Build a graph database with management systems or data assets and accounts as nodes and the authority relationships between management systems or data assets and accounts as edges between nodes;
[0009] Based on the graph database, accounts with abnormal permissions, management systems with abnormal permissions, or data assets with abnormal permissions are identified.
[0010] According to one aspect of the present application, there is provided an account authority control device, comprising:
[0011] An account authority information acquisition unit, used to acquire an account authority table of an organizational structure, and obtain account authority information of all valid accounts in the organizational structure;
[0012] An account authority analysis unit, used to perform data analysis on the account authority information to obtain the authority relationship of the account in each piece of account authority information for the management system or data asset;
[0013] A graph database construction unit, used to construct a graph database using a management system or data assets and an account as nodes and using a permission relationship between the management system or data assets and the account as an edge between nodes;
[0014] The permission anomaly identification unit is used to identify permission anomaly accounts, permission anomaly management systems or permission anomaly data assets based on the graph database.
[0015] According to one aspect of the present application, a storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned account authority control method when running.
[0016] According to one aspect of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the above-mentioned account authority control method.
[0017] Through the above technical solution, the present application provides an account authority control method, device, medium and equipment. The present application is based on the management system (or data assets), accounts as nodes, and the authority relationship between the management system (or data assets) and accounts as edges between nodes. A graph database is constructed, and authority anomalies are identified based on the graph database. This allows the account authorities to be viewed, counted or managed intuitively and easily, thereby improving the efficiency of account authority management.
[0018] It can be seen that this application is based on the existing account permission table, and establishes an association between the account and the management system (or data assets) through the permission relationship to construct a graph database. The graph database can display abnormal accounts through visual effects (such as highlighting or bolding, etc.). Specifically, the abnormal permissions of an employee's account can be identified through edge density and edge association relationships; when an employee transfers or leaves, the association relationship is checked in the new organization to determine the improper permissions; for compliance audits such as internal audits and leadership reviews, high-risk groups (accounts) can be cleaned up according to the time dimension; temporarily open permissions can be reclaimed regularly; when data leaks occur, the association relationship between accounts and data assets can be used to quickly determine which accounts are suspicious accounts, and further verify or clean them up.
[0019] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0021] Figure 1 A flowchart of an account authority control method provided by an embodiment of the present application is shown;
[0022] Figure 2 A schematic diagram of a database in a method for controlling account authority provided in an embodiment of the present application is shown;
[0023] Figure 3 A diagram showing a query diagram of a visualization interface of a database in an account authority control method provided in an embodiment of the present application Figure 1 ;
[0024] Figure 4 A diagram showing a query diagram of a visualization interface of a database in an account authority control method provided in an embodiment of the present application Figure 2 ;
[0025] Figure 5 A schematic diagram of the structure of an account authority control device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only embodiments of a part of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0027] In an embodiment of the present application, a graph database is constructed based on the permission relationship between the account and the operating system (or data assets), which can quickly identify accounts, systems or assets with abnormal permissions, thereby avoiding problems such as data leakage or quickly tracing the causes.
[0028] See also Figure 1, is a flow chart of an account authority control method provided in an embodiment of the present application, comprising the following steps S101-S104.
[0029] S101: Obtain the account permission table of the organizational structure, and obtain the account permission information of all valid accounts in the organizational structure.
[0030] The organizational structure in the embodiment of the present application refers to a unit (such as a company) or a department under the unit (such as a human resources department). It is understood that the organizational structure can be subdivided into multiple sub-organizational structures, for example, a company includes multiple departments, or the human resources department includes different working groups, and so on. In the embodiment of the present application, the account permission table of the organizational structure refers to an information table of the operation or access rights of employees (also referred to as employee objects) within the organizational structure for management systems or data assets. It is understood that, in general, when account permissions are opened for employees, the account permissions are synchronously recorded in the account permission table and stored in a special data space, such as stored in a cloud database. By pulling the account permission table of the organizational structure, the account permission information of all employees in the organizational structure can be obtained.
[0031] S102: Perform data analysis on the account permission information to obtain the permission relationship of the account for the management system or data assets in each piece of account permission information.
[0032] Account permission information refers to information that describes which management systems / data assets an account can operate or access. For example, the account permission information of an employee named Zhang San can indicate that Zhang San can access management systems A and B and download data asset D1.
[0033] It can be seen that the account permission information includes at least two subjects and the permission relationship between the subjects, where the first subject is the account, such as represented by an employee ID, and the second subject is the management system or data asset targeted by the account operation or access.
[0034] Management system refers to the company's various management systems, such as human resources management system, R&D system, procurement system, database system, backend management system, big data system, etc.
[0035] Data assets refer to data resources that are owned or controlled by an enterprise and recorded in physical or electronic form. For example, data assets include, but are not limited to, R&D data, production data, sales data, operational data, customer data, employee data, contracts, software code (metadata), intellectual property data, and other data assets; in terms of the form of expression, data assets can be various file types, such as various documents, tables, pictures, metacodes, and other files. Operations on data assets can include accessing data assets, downloading data assets, outsourcing data assets, copying data assets, modifying data assets, deleting data assets, and other types of operations.
[0036] S103: Construct a graph database using the management system or data assets and accounts as nodes and the authority relationships between the management system or data assets and accounts as edges between the nodes.
[0037] Graph database refers to a type of NoSQL database, which is a non-relational database that uses graph theory to store relationship information between entities. For example, the relationship between people in a social network. In a graph database, each person is represented as a point, and the relationship between people is represented by the edges between points. Traditional relational databases are not ideal for storing "relational" data, and often have the defects of complex and slow queries, while graph databases can perfectly make up for this defect. There are many existing graph databases, including but not limited to: Neo4j, Arangodb, Orientdb and other graph databases.
[0038] In an embodiment of the present application, two subjects (one is an account and the other is a management system or data asset) are used as nodes in a graph database, and the permission relationship between the subjects (the permission of the account to access or operate the management system or data assets) is used as the edge between the nodes, thereby constructing a graph database.
[0039] See also Figure 2 , shows a schematic diagram of the visualization interface of a graph database corresponding to a certain organizational structure, where it is assumed that the organizational structure includes five accounts A, B, C, D, and E (employees A, B, C, D, and E correspond to accounts A, B, C, D, and E), and the management systems (or data assets) that different employees can access or operate may be different. Figure 2 Taking the management system as an example (the same applies to data assets), Figure 2 It can be seen that account A has permissions for management systems A, B, C, and D, account B has permissions for management systems A, C, and D, and accounts C, D, and E have permissions for management systems B and D. It can be understood that different permissions (such as different operation permissions or access permissions) can be distinguished by different edges (such as line segment styles or thicknesses).
[0040] S104: Based on the graph database, identify accounts with abnormal permissions, management systems with abnormal permissions, or data assets with abnormal permissions.
[0041] In one implementation, in the visualization interface of the graph database, the abnormal permission accounts, abnormal permission management systems, abnormal permission data assets, or permission relationships can be highlighted by using special colors or special thicknesses of nodes or edges. Figure 2In the example, if Account A is determined to be an abnormal account, Account A can be displayed in bold. In addition, the attribute information of the department to which the employee belongs or the attribute information of the position can be used to further determine which permission is abnormal. For example, based on the attribute information of the organizational structure (such as the R&D department), it is determined that the employees under the organizational department generally do not have the permission to manage the system A (such as the human resources management system). Therefore, Account A can be highlighted in the example. Figure 2 Based on the account A in bold, the authority relationship between account A and management system A is highlighted, that is, the edge between account A and management system A is highlighted. Figure 2 (displayed in bold).
[0042] In the embodiment of the present application, the method for identifying accounts with abnormal permissions can be carried out through the edge density in the graph database or the attribute information of the employee object corresponding to the account.
[0043] In one implementation, abnormal accounts can be identified by the number of edges (edge density). At this time, the method of identifying abnormal accounts with permissions based on the graph database may include: based on the graph database, counting the number of edges between each account and the management system or data asset, and comparing the counted number of edges with a preset edge number threshold to determine the abnormal accounts with permissions. For example, Figure 2 In this example, assuming that the account permission edge number threshold in the organizational structure is set to 3, through statistics, it is found that the number of edges of account A is 4, the number of edges of account B is 3, and the number of edges of accounts C, D, and E are all 2. Then, by comparing the number of edges of each account with the edge number threshold, it is found that the number of edges of account A (4) is greater than the edge number threshold (3). Therefore, it can be determined that account A is an account with abnormal permissions (or a suspected abnormal permissions account) and needs further verification or management.
[0044] In another implementation, abnormal accounts can be identified through information such as employee employment status. In this case, the method of identifying abnormal permission accounts based on the graph database may include: determining the job attribute information or employment status attribute information of the employee object corresponding to each account based on the graph database, and determining the abnormal permission account based on the preset relationship between the job attribute information or employment status attribute information and the permission. Figure 2 For example, suppose that by reading the employment status attribute information of the employee object corresponding to the account, it is learned that the status of Account C is "resignation processing status". In this case, if the employee still has the authority to operate certain management systems or read certain data assets, there will be risks such as data leakage. Therefore, Account C can be identified as an account with abnormal permissions at this time.
[0045] In the embodiment of the present application, in addition to identifying accounts with abnormal permissions, it is also possible to identify ways to manage systems or data assets with abnormal permissions, which can be done specifically through edge associations in a graph database.
[0046] In one implementation, a method for identifying an abnormal permission management system or an abnormal permission data asset may include: based on a graph database, counting the number of edges and edge weights of each management system or each data asset; calculating a management system permission score or a data asset permission score based on the number of edges and the edge weights; comparing the permission score with a preset permission score threshold to determine the abnormal permission management system or the abnormal permission data asset.
[0047] Specifically, the weighted cumulative comparison algorithm can be used to identify abnormal management systems or data assets. Taking the management system (data assets) as an example, the management system ratio within the unified organizational structure is used as the basic value (KEY). If the score of a management system is lower than that of other systems, an abnormal alarm can be issued.
[0048] Assume that each management system in a certain organizational structure has different edges. For example, the human resources organization corresponds to three systems (three systems ABC). Under normal circumstances, the employees (accounts) in the organization should have a balanced connection relationship with each system, that is, the thickness of the edges of each system in the organization should be basically the same (for example, a 5cm edge). If the thickness of the three systems is significantly different, there may be an anomaly. Specifically, anomaly identification can be performed by the method of "weight * number of edges = system score".
[0049] For example:
[0050] The weight of each edge of system A is 1. 10 accounts have access rights, which means 10 edges. Finally, the score of system A is 1*10=10 points.
[0051] The weight of each edge of system B is 4. Two accounts have access rights, which means two edges. Finally, the score of system B is 4*2=8 points.
[0052] The weight of each edge of system C is 1, and 2 accounts have access rights, that is, 2 edges. In the end, the score of system C is 1*2=2 points.
[0053] Then, within the organizational structure, the scores of each Guarani system are compared by taking the highest score as the basis and dividing the remaining scores by the highest score. If the ratio is below the threshold, it is considered abnormal.
[0054] For example, in the above example, system A has the highest score of 10 points, which is used as the basis; the ratio of system B is 8 / 10=0.8, and the ratio of system C is 2 / 10=0.2. If the lowest threshold is 0.3, then 0.2 is less than 0.3, which means that system C is determined to have an abnormality.
[0055] In addition, in an embodiment of the present application, account permissions can also be updated or cancelled according to employee position changes or resignations. In the original account permission management method, the corresponding permissions are determined according to the employee's position and responsibilities when the permissions are initially applied for. However, when the employee's position changes or he resigns, there is no timely way to know whether the account permissions are updated or cancelled. In an embodiment of the present application, it is determined whether the position attribute information or the on-the-job status attribute information of the target employee object corresponding to the target account has changed. If so, the permission relationship between the target account and the corresponding management system or data asset is updated in the graph database. It can be seen that based on the latest changes in the employee's position attribute information or the on-the-job status attribute information, the relevant data in the graph database is updated in a timely manner, thereby achieving timely updating of account permissions.
[0056] In addition, the account permission control method provided in the embodiment of the present application also supports permission queries for accounts or management systems (data assets).
[0057] For example, in the visualization interface of the graph database, a query entry can be provided, which can select a target employee object to query the permissions of the target account, or select a target management system (or data asset) to query the permission relationship of the management system.
[0058] Among them, the permission query for the target account can be carried out in the following manner: receiving a permission query request for the target account; according to the permission query request, obtaining all management systems or data assets that have permission association relationships with the target account from the graph database; and displaying the permission relationship between the target account and all management systems or data assets in a visual interface.
[0059] Figure 3 The diagram shows a schematic diagram of querying the permissions of a target account. In the visualization interface of the graph database, by entering or selecting the employee ID in the query entry, the permissions of the employee account can be queried. For example, for the target account with employee ID 00118, it is found that it has access to or operation of management system A, management system B, and management system C. The permission type can be further distinguished by different forms of edges. For example, the target account has administrator permissions for management system A (edges with continuous lines) and access permissions for management systems B and C (edges with broken lines).
[0060] In this way, targeted inquiries can be conducted on a target account, subordinate permissions can be easily and quickly queried, or permissions can be queried for specific employees (such as resignation or position change), which facilitates subsequent permission verification and management.
[0061] Among them, the permission relationship query for the target management system (or target data asset) can be carried out in the following manner: receiving a permission query request for the target management system or target data asset; according to the permission query request, obtaining all accounts that have a permission association relationship with the target management system or target data asset from the graph database; and displaying the permission relationship between the target management system or target data asset and all accounts in a visual interface.
[0062] Figure 4 The diagram shows a schematic diagram of querying the permission relationship of a target management system. In the visualization interface of the graph database, by entering or selecting a data asset in the query entry (the same applies to the management system), the permission relationship of the data asset can be queried. For example, for the target data asset X, the accounts with access or operation permission relationships with it include accounts 1-20, where the permission types can be further distinguished by different forms of edges. For example, for various types of permissions such as access, download, outbound, copy, modify, and delete data assets, they can be distinguished by edges of different colors, thicknesses, or styles.
[0063] In this way, targeted permission relationship queries can be performed on a target data asset or target management system. When tracing security incidents such as data leaks, accounts with permission relationships can be easily and quickly located for the target data asset or target management system, so that the problem can be further traced within this scope.
[0064] In the embodiment of the present invention, based on the existing account permission table, an association is established between the account and the management system (or data assets) through the permission relationship to construct a graph database. The graph database can display abnormal accounts through visual effects (such as highlighting or bolding). Specifically, the abnormal permissions of an employee's account can be identified through edge density and edge association. When an employee transfers or resigns, the association relationship is checked in the new organization to determine the improper permissions. For compliance audits such as internal audits and leadership reviews, high-risk groups (accounts) can be cleaned up according to the time dimension. Temporary permissions can be reclaimed regularly. When data leaks occur, the association relationship between accounts and data assets can be used to quickly determine which accounts are suspicious accounts, and further verify or clean them up.
[0065] See also Figure 5 , showing a schematic diagram of the structure of an account authority control device provided in an embodiment of the present application.
[0066] The account authority control device includes:
[0067] The account authority information acquisition unit 501 is used to acquire the account authority table of the organizational structure and obtain the account authority information of all valid accounts in the organizational structure;
[0068] An account authority analysis unit 502 is used to perform data analysis on the account authority information to obtain the authority relationship of the account in each piece of account authority information for the management system or data asset;
[0069] A graph database construction unit 503, used to construct a graph database using the management system or data assets and accounts as nodes and the authority relationships between the management system or data assets and accounts as edges between the nodes;
[0070] The permission anomaly identification unit 504 is used to identify permission anomaly accounts, permission anomaly management systems or permission anomaly data assets based on the graph database.
[0071] In one implementation, the device further includes:
[0072] The highlighting unit 505 is used to highlight the abnormal permission account, abnormal permission management system, abnormal permission data asset or abnormal permission relationship in the visualization interface of the graph database through the special color or special thickness of the node or edge.
[0073] In one implementation, the device further includes:
[0074] The query processing unit 506 is used to receive a permission query request for a target account; based on the permission query request, obtain all management systems or data assets that have permission association relationships with the target account from the graph database; and display the permission relationships between the target account and all management systems or data assets in a visual interface.
[0075] In one implementation, the device further includes:
[0076] The query processing unit 506 is used to receive a permission query request for a target management system or a target data asset; based on the permission query request, obtain all accounts that have a permission association relationship with the target management system or the target data asset from the graph database; and display the permission relationship between the target management system or the target data asset and all accounts in a visual interface.
[0077] In one implementation, the permission abnormality identification unit 504 is specifically used to:
[0078] Based on the graph database, the number of edges between each account and the management system or data asset is counted, and the counted number of edges is compared with a preset edge number threshold to determine the account with abnormal permissions; or,
[0079] Based on the graph database, the job attribute information or the employment status attribute information of the employee object corresponding to each account is determined, and according to the preset relationship between the job attribute information or the employment status attribute information and the authority, the account with abnormal authority is determined.
[0080] In one implementation, the permission abnormality identification unit 504 is specifically used to:
[0081] Based on the graph database, counting the number of edges and edge weights of each management system or each data asset;
[0082] Calculate a management system authority score or a data asset authority score according to the edge quantity and edge weight; and
[0083] The permission score is compared with the preset permission score threshold to determine the permission anomaly management system or permission anomaly data asset.
[0084] In one implementation, the device further includes:
[0085] The permission updating unit 507 is used to determine whether the job attribute information or the employment status attribute information of the target employee object corresponding to the target account has changed. If so, the permission relationship between the target account and the corresponding management system or data asset is updated in the graph database.
[0086] An embodiment of the present application further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0087] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0088] Obtain the account permission table of the organizational structure, and obtain the account permission information of all valid accounts in the organizational structure;
[0089] Performing data analysis on the account permission information to obtain the permission relationship of the account for the management system or data asset in each piece of account permission information;
[0090] Build a graph database with management systems or data assets and accounts as nodes and the authority relationships between management systems or data assets and accounts as edges between nodes;
[0091] Based on the graph database, accounts with abnormal permissions, management systems with abnormal permissions, or data assets with abnormal permissions are identified.
[0092] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0093] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0094] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0095] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0096] Obtain the account permission table of the organizational structure, and obtain the account permission information of all valid accounts in the organizational structure;
[0097] Performing data analysis on the account permission information to obtain the permission relationship of the account for the management system or data asset in each piece of account permission information;
[0098] Build a graph database with management systems or data assets and accounts as nodes and the authority relationships between management systems or data assets and accounts as edges between nodes;
[0099] Based on the graph database, accounts with abnormal permissions, management systems with abnormal permissions, or data assets with abnormal permissions are identified.
[0100] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0101] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0102] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0103] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0104] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0105] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0106] If the integrated unit 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, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable 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, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0107] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for controlling account authority, characterized in that: include: Obtain the account permission table of the organizational structure, and obtain the account permission information of all valid accounts in the organizational structure; Performing data analysis on the account permission information to obtain the permission relationship of the account for the management system or data asset in each piece of account permission information; Build a graph database with management systems or data assets and accounts as nodes and the authority relationships between management systems or data assets and accounts as edges between nodes; Based on the graph database, accounts with abnormal permissions, management systems with abnormal permissions, or data assets with abnormal permissions are identified.
2. The method according to claim 1, characterized in that The method further comprises: In the visualization interface of the graph database, the permission-abnormal account, permission-abnormal management system, permission-abnormal data asset or permission relationship is highlighted by means of special colors or special thicknesses of nodes or edges.
3. The method according to claim 1, characterized in that The method further comprises: Receive permission query request for the target account; According to the permission query request, all management systems or data assets having permission association relationships with the target account are obtained from the graph database; The permission relationship between the target account and all management systems or data assets is displayed in a visual interface.
4. The method according to claim 1, characterized in that: The method further comprises: Receive permission query requests for target management systems or target data assets; According to the permission query request, all accounts having permission association relationships with the target management system or target data asset are obtained from the graph database; The permission relationship between the target management system or the target data asset and all accounts is displayed in a visual interface.
5. The method according to any one of claims 1 to 4, characterized in that: The identifying of accounts with abnormal permissions based on the graph database includes: Based on the graph database, the number of edges between each account and the management system or data asset is counted, and the counted number of edges is compared with a preset edge number threshold to determine the account with abnormal permissions; or, Based on the graph database, the job attribute information or the employment status attribute information of the employee object corresponding to each account is determined, and according to the preset relationship between the job attribute information or the employment status attribute information and the authority, the account with abnormal authority is determined.
6. The method according to any one of claims 1 to 4, characterized in that: The identifying the abnormal authority management system or abnormal authority data assets based on the graph database includes: Based on the graph database, counting the number of edges and edge weights of each management system or each data asset; Calculate a management system authority score or a data asset authority score according to the edge quantity and edge weight; The permission score is compared with the preset permission score threshold to determine the permission anomaly management system or permission anomaly data asset.
7. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Determine whether the job attribute information or the employment status attribute information of the target employee object corresponding to the target account has changed. If so, update the authority relationship between the target account and the corresponding management system or data asset in the graph database.
8. An account authority control device, characterized in that: include: An account authority information acquisition unit, used to acquire an account authority table of an organizational structure, and obtain account authority information of all valid accounts in the organizational structure; An account authority analysis unit, used to perform data analysis on the account authority information to obtain the authority relationship of the account in each piece of account authority information for the management system or data asset; A graph database construction unit, used to construct a graph database using a management system or data assets and an account as nodes and using a permission relationship between the management system or data assets and the account as an edge between nodes; The permission anomaly identification unit is used to identify permission anomaly accounts, permission anomaly management systems or permission anomaly data assets based on the graph database.
9. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 7 when executed.
10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 7.
