POLICY SETTING CONTROL DEVICE, POLICY SETTING CONTROL METHOD, AND POLICY SETTING CONTROL PROGRAM
The policy setting control device facilitates easy and consistent policy setting by generating post-conversion policies that align with existing policies, addressing the challenge of time-consuming policy updates in information systems.
Patent Information
- Application Number
- JP2022041067
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-03-16
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2042-03-16
AI Technical Summary
Setting new policies for data access in information systems is often time-consuming and difficult due to the need for ensuring consistency with existing policies, particularly during organizational or personnel changes.
A policy setting control device that includes a processor to receive input policies, obtain attribute values, generate post-conversion policies, and ensure consistency with existing policies by modifying or rejecting policies that do not conform, using a policy mapping unit, PDP inquiry unit, and policy determination unit to facilitate easy and appropriate policy setting.
Enables efficient and appropriate setting of policies that are consistent with existing policies, reducing the time and effort required for policy updates.
Smart Images

Figure 0007564144000001 
Figure 0007564144000002 
Figure 0007564144000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for controlling the setting of access policies for resources in which data is stored. [Background technology]
[0002] For example, when a company undergoes organizational changes or personnel transfers, user attribute information, which is identity information about users, is updated. Accordingly, in the information systems used by the company, it becomes necessary to update policies regarding data access and to update the system environment. In general, policy updates and system environment updates are performed manually.
[0003] Policies regarding access to data are composed of subjects such as users, actions such as access methods, and resources such as data stores, and are composed of these elements and attributes. In information systems, different systems of policies are used depending on management objectives such as master data management, security and privacy management, and lifecycle management, and in data governance, it is essential that the consistency of policies is maintained across these different systems.
[0004] As a technology related to policies, for example, a service that collects policy inputs from multiple layers of an organization and generates a security policy that is consistent across multiple layers of the organization is known (see Patent Document 1). Also, a technology is known in which, when there are policies corresponding to targets in a hierarchical relationship, the targets are related to each other in advance, and for a policy corresponding to an arbitrary target, a higher target in the hierarchical relationship is identified based on the target corresponding to the policy, and the existence of a contradiction with the corresponding counterpart policy is determined and output (see Patent Document 2). Also, a system is known that includes a policy storage device that stores multiple policies that are composed of at least one condition that describes user attribute information associated with multiple items including at least a second user ID corresponding to a first user ID, and that specifies the use authority of each service that allows the use of the service when the value of the user attribute information satisfies the condition, a policy update device that can update each stored policy when the user attribute information is changed, and a user attribute information storage device that stores the changed user attribute information and the change contents for each second user ID, including the value of the user attribute information before the change and the value of the user attribute information after the change (see Patent Document 3). [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Special Publication No. 2014-519131 [Patent Document 2] JP 2012-108629 A [Patent Document 3] International Publication No. 2014 / 049741 Summary of the Invention [Problem to be solved by the invention]
[0006] When setting a new policy, it is necessary to ensure that it is consistent with existing policies. However, understanding and setting such policies is often time-consuming and difficult.
[0007] The present invention has been made in consideration of the above circumstances, and an object of the present invention is to provide a technique that enables policies to be set easily and appropriately. [Means for solving the problem]
[0008] In order to achieve the above-mentioned object, a policy setting control device according to one aspect is a policy setting control device that controls the setting of a policy that controls access to a resource, the policy setting control device having a processor, the policy including a resource to be accessed, an accessing subject, and an access action, the processor accepts input of a candidate policy to be newly set, obtains attribute values corresponding to the values of the subject and / or resource included in the candidate policy, and generates one or more converted policies by changing the values of the subject and / or resource of the candidate policy to the obtained attribute values, and if all of the generated converted policies are consistent with existing policies, causes the candidate policy to be set as a new policy. Effect of the Invention
[0009] According to the present invention, policies can be set easily and appropriately. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a diagram showing the overall configuration of a policy-based system according to an embodiment. [Diagram 2] FIG. 2 is a configuration diagram of a policy setting control device according to an embodiment. [Diagram 3] FIG. 3 is a flowchart of a policy decision process according to an embodiment. [Figure 4] FIG. 4 is a diagram illustrating a first processing operation example of the policy setting control device according to the first embodiment. [Diagram 5] FIG. 5 is a diagram illustrating a second processing operation example of the policy setting control device according to the first embodiment. [Figure 6]FIG. 6 is a diagram illustrating an example of a processing operation of the policy setting control device according to the second embodiment. [Figure 7] FIG. 7 is a diagram illustrating an example of a processing operation of the policy setting control device according to the third embodiment. [Figure 8] FIG. 8 is a diagram illustrating a first processing operation example of the policy setting control device according to the fourth embodiment. [Figure 9] FIG. 9 is a diagram illustrating a second processing operation example of the policy setting control device according to the fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] The following embodiments will be described with reference to the drawings. Note that the following embodiments do not limit the scope of the invention, and not all of the elements and combinations thereof described in the embodiments are necessarily essential to the solution of the invention.
[0012] In the following description, information may be described using the expression "AAA table", but the information may be expressed in any data structure. In other words, to show that the information does not depend on the data structure, the "AAA table" may be called "AAA information".
[0013] FIG. 1 is a diagram showing the overall configuration of a policy utilization system according to the first embodiment.
[0014] The policy use system 1 includes a PAP (Policy Administration Point) server 10, a policy setting control device 100, and a PIP (Policy Information Point) server 20. The PAP server 10, the policy setting control device 100, and the PIP server 20 are connected via, for example, a WAN (Wide Area Network), a LAN (Local Area Network), or the like.
[0015] The PAP server 10 manages access control policies for resources that manage data. Specifically, the PAP server 10 accepts an instruction for an operation on the resource from a subject that uses the resource, judges whether or not the operation instructed on the resource is permitted, and permits the operation on the resource from the subject if it is determined to be permitted. The PIP server 20 manages attribute information of subjects, resources, and various environments.
[0016] The policy setting control device 100 includes a policy mapping unit 101, a policy rule memory unit 102, a PDP inquiry unit 104, a policy judgment unit 105, a policy judgment result check unit 107, a policy decision unit 108, an automatic policy correction unit 109, a policy receiving unit 110, and a similar policy extraction unit 111.
[0017] The policy storage unit 102 stores rules (policy rules) that can identify the policy used by the PAP server 10. The policy rules may be a plurality of policies used by the PAP server 10. In this case, the policy may be acquired from the PAP server 10 at any timing.
[0018] The policy mapping unit 101 accepts candidate input policies 11 (candidate policies) from the PAP server 10, refers to the policy rules in the policy rule memory unit 102, obtains the necessary attribute information corresponding to the input policy 11 from the PIP server 20, and generates a converted policy 103 by applying the obtained attribute information to the input policy 11.
[0019] A PDP inquiry unit 104 inquires of a policy judgment unit 105 as to whether each policy of the converted policy 103 conforms to an existing policy, receives the judgment result from the policy judgment unit 105, and outputs a judged policy 106 in which the judgment result is associated with the converted policy 103.
[0020] The policy determination unit 105 functions as a PDP (Policy Decision Point) and determines whether each converted policy 103 inquired about by the PDP inquiry unit 104 conforms to an existing policy, and notifies the PDP inquiry unit 104 of the determination result (consistency result).
[0021] The policy judgment result checking unit 107 refers to the post-judgment policies 106, judges whether or not all of the post-judgment policies 106 conform to the existing policies, and if all of the post-judgment policies 106 satisfy the existing policies (if yes), notifies the policy decision unit 108 of that effect, whereas if any of the post-judgment policies 106 do not satisfy the existing policies (if no), notifies the policy automatic correction unit 109 of that effect. The policy judgment result checking unit 107 may display and output the post-judgment policies 106 so that the administrator can recognize them.
[0022] The similar policy extraction unit 111 outputs to the automatic policy modification unit 109 a modified policy candidate obtained by modifying a policy having a data attribute similar to the data attribute of the input policy 11 based on the policy rule in the policy rule storage unit 102 .
[0023] When the policy automatic correction unit 109 receives a notice from the policy judgment result checking unit 107 that the existing policy is not satisfied, the policy automatic correction unit 109 corrects the input policy 11 to a policy that does not contradict the existing policy. Note that the correction policy candidate extracted by the similar policy extraction unit 111 may be corrected.
[0024] The policy receiving unit 110 receives a newly applied modified policy from the data manager. The policy receiving unit 110 may receive a modified policy by receiving a modification to a policy created by the automatic policy modifying unit 109.
[0025] When the policy determination unit 108 receives a notification from the policy determination result checking unit 107 that all of the post-determination policies 106 satisfy the existing policies, the policy determination unit 108 determines either the input policy 11 received from the automatic policy modification unit 109, or the administrator input policy received by the policy reception unit 110 from the data administrator as the final policy 112 to be set in the PAP server 10, and transmits it to the PAP server 10.
[0026] FIG. 2 is a configuration diagram of a policy setting control device according to an embodiment.
[0027] The policy setting control device 100 is configured by a computer such as a PC (Personal Computer) or a server device, and includes a communication interface (I / F) 121, a CPU (Central Processing Unit) 122 as an example of a processor, an input device 123, a storage device 124, a memory 125, and a display device 126. The communication I / F 121, the CPU 122, the input device 123, the storage device 124, the memory 125, and the display device 126 are connected via an internal bus 127.
[0028] The communication I / F 121 is, for example, an interface such as a wired LAN card or a wireless LAN card, and communicates with other devices (for example, the PAP server 10 and the PIP server 20) via a network (not shown).
[0029] The CPU 122 executes various processes in accordance with the programs stored in the memory 125 and / or the storage device 124. In this embodiment, the policy mapping unit 101, the PDP inquiry unit 104, the policy judgment unit 105, the policy judgment result check unit 107, the policy decision unit 108, the automatic policy correction unit 109, the policy reception unit 110, and the similar policy extraction unit 111 are configured by the CPU 122 executing the policy setting control program stored in the memory 125.
[0030] The memory 125 is, for example, a RAM (RANDOM ACCESS MEMORY), and stores necessary information and programs (for example, a policy setting control program) executed by the CPU 122. The memory 125 stores the converted policy 103 and the determined policy .
[0031] The storage device 124 is, for example, a hard disk or a flash memory, and stores programs executed by the CPU 122 and data used by the CPU 122. In this embodiment, the storage device 124 corresponds to the policy rule storage unit 102.
[0032] The input device 123 is, for example, a mouse, a keyboard, etc., and accepts information input by a user. The display device 126 is, for example, a display, and displays and outputs a user interface including various types of information.
[0033] Next, the policy decision process will be described.
[0034] FIG. 3 is a flowchart of a policy decision process according to an embodiment.
[0035] The policy mapping unit 101 receives the input policy 11 as a candidate for a new policy to be set from the PAP server 10 (step S11).
[0036] Next, the policy mapping unit 101 determines the policy system of the input policy 11, extracts from the policy rule memory unit 102 the policy system of an existing policy that can be applied to the input policy 11, obtains attribute information necessary for the extracted policy system from the PIP server 20, and generates a converted policy 103 by converting the input policy 11 using the obtained attribute information (step S12).
[0037] Next, PDP inquiry section 104 causes policy determination section 105 to determine whether or not converted policy 103 conforms to an existing policy, and receives the determination result to generate determined policy 106 (step S13).
[0038] Next, the policy judgment result check unit 107 refers to the judged policy 106 and judges whether the judgment results for all the converted policies are positive (step S14).
[0039] As a result, if all the judgment results are positive (step S14: YES), the policy decision unit 108 finalizes the input policy 11 as the policy to be set (step S15), and the process proceeds to step S17. On the other hand, if any of the judgment results are negative (step S14: NO), the automatic policy correction unit 109 corrects the input policy 11 using a policy that does not cause a contradiction (step S16), and the process proceeds to step S17.
[0040] In step S17, if policy receiving unit 110 accepts modifications from the data administrator, policy determination unit 108 rewrites input policy 11 or the policy modified by automatic policy modification unit 109 in accordance with instructions from the data administrator to generate a final policy, transmits the final policy to the PAP server 10, and terminates the policy determination process.
[0041] Next, a first processing operation example of the policy setting control device 100 according to the first embodiment will be described.
[0042] FIG. 4 is a diagram illustrating a first processing operation example of the policy setting control device according to the first embodiment.
[0043] Here, in the first processing operation example, as shown in FIG. 4(A), the data resources are actual data 1 in data store 1, actual data 2 (table 2) in data store 2, policies X1 and X2 in system A which adopts ABAC (Attribute Based Access Control), and policy Y1 according to system B which adopts RBAC (Role Based Access Control), and the case where policy Z0 is set as a candidate policy (input policy) to be newly set is described with reference to FIG. 4(B).
[0044] The input policy 401 has a policy ID of policy Z0, a subject of user B, an action of CRUD (Create / Read / Update / Delete), and a resource of real data 2.
[0045] The PIP server 20 stores a user information table 201 that manages user attributes. The user information table 201 stores entries including attribute information for each user. An entry in the user information table 201 includes fields for a user ID, an organization, a job title, and a role. The user ID stores the ID of the user corresponding to the entry. The organization stores the name of the organization to which the user corresponding to the entry belongs. The job title stores the job title of the user corresponding to the entry. The role stores the role of the user corresponding to the entry. In the example of FIG. 4, user A belongs to the manufacturing A organization, has a job title of supervisor, and a role of data manager. User B belongs to the administrative C organization, has a job title of manager, and a role of data manager. User C belongs to the analysis E organization, has a job title of supervisor, and a role of data user.
[0046] The policy rule 406 of the policy rule storage unit 102 stores one or more policies each including a policy ID, a subject, an action, and a resource. In the example of Fig. 4, the policy rule 406 includes a policy X1, a policy X2, and a policy Y1.
[0047] The policy mapping unit 101 accepts policy Z0, which is the input policy 401. Next, the policy mapping unit 101 refers to the policy rule 406 to identify items (input items) that need to be input to the PIP server 20 to acquire attribute information about the subject and / or resource. For example, in the example of FIG. 4, for the subject, a user title and a user role are identified from the information set for the subject in the policy rule 406, and for the resource, a data store is identified. Next, the policy mapping unit 101 inputs attribute inquiry information that associates the identified input items with the setting values of the subject and / or resource in the input policy 401 to the PIP server 20. Here, in the example of FIG. 4, the attribute inquiry information is information starting with "in:" in the attribute acquisition interface 402.
[0048] When the PIP server 20 acquires attribute inquiry information from the policy mapping unit 101, it refers to the user information table 201 etc. to identify attribute information corresponding to the subject and / or resource included in the attribute inquiry information, and returns it as inquiry response information to the policy mapping unit 101. Here, in the example of Fig. 4, the inquiry response information is information beginning with "Out:" in the attribute acquisition interface 402. In the example of Fig. 4, "chief" is returned as the job title of user B, "data administrator" is returned as the role of user B, and data store 2 is returned as the data store to which real data 2 belongs.
[0049] Next, the policy mapping unit 101 converts the policy by applying the acquired attributes to the input policy 401, and generates one or more converted policies 403. Here, the converted policies to be generated may be policies that correspond to all possible combinations, or may not include policies that are considered not to need to be judged.
[0050] In the example of Figure 4, the policy mapping unit 101 generates, as the converted policy 403, policy Z0-1 in which the subject is user role = data administrator, the action is CRUD, and the resource is data store 2, and policy Z0-2 in which the subject is user position = chief, the action is CRUD, and the resource is data store 2.
[0051] Next, the PDP inquiry unit 104 has the policy determination unit 105 determine whether each of the converted policies 403 conforms to an existing policy (which in this embodiment is basically the same as the policy rule 406), accepts the determination result (response) 404, and combines the converted policies 403 and the determination result 404 to generate a determined policy 405.
[0052] In the example of FIG. 4, the policy determination unit 105 determines that policy Z0-1 complies with policy Y1 and returns OK (OK), and determines that policy Z0-2 complies with policy X1 and returns OK (OK).
[0053] Next, the policy judgment result checking unit 107 refers to the post-judgment policy 405 and judges whether the judgment results for all policies are pass or not. In this example, since the judgment results for all policies are pass, the policy judgment result checking unit 107 notifies the policy decision unit 108 that all policies are pass.
[0054] When policy determination unit 108 is notified by policy determination result checking unit 107 that the determination results for all policies are positive, policy receiving unit 110 determines input policy 401 as final policy 112 to be set in PAP server 10, and transmits it to PAP server 10. After this, PAP server 10 registers final policy 112, and uses this registered final policy 112 to make access determination.
[0055] According to this process, input policies that are consistent across multiple systems can be appropriately registered in the PAP server 10.
[0056] Next, a second processing operation example of the policy setting control device 100 according to the first embodiment will be described. Note that the same components as those in the first processing operation example are given the same reference numerals, and duplicated explanations may be omitted.
[0057] FIG. 5 is a diagram illustrating a second processing operation example of the policy setting control device according to the first embodiment.
[0058] Here, in the second processing operation example, as shown in FIG. 5(A), the data resources are actual data 1 in data store 1, actual data 2 (table 2) in data store 2, policies X1 and X2 in system A which adopts ABAC, and policy Y1 according to system B which adopts RBAC, policy Z1 is set as a candidate policy (input policy) to be newly set, and a modified policy Z1' is set in place of policy Z1. This will be described with reference to FIG. 5(B).
[0059] The input policy 501 has a policy ID of policy Z1, a subject of user="user C", an operation of CRUD, and a resource of real data 2.
[0060] The PIP server 20 stores a user information table 201 for managing user attributes and a resource information table 202. The resource information table 202 stores entries including attribute information corresponding to resources. An entry in the resource information table 202 includes fields of a resource ID, a job title, a role, and an operation. The resource ID stores the ID of the resource corresponding to the entry. The job title stores the name of a job title that can access the resource corresponding to the entry. If an accessible job title is not specified, a symbol (e.g., *) indicating that any job title may be used is stored. The role stores the role that can access the resource corresponding to the entry. If an accessible role is not specified, a symbol (e.g., *) indicating that any role may be used is stored. The operation stores the operation that can access the resource corresponding to the entry. In the example of FIG. 5, the resource information table 202 indicates that CRUD access is possible for the data store 2 when the role is a data manager, and that R (Read) access is possible for the data store 2 when the job title is in charge.
[0061] The policy mapping unit 101 accepts policy Z1, which is the input policy 501. Next, the policy mapping unit 101 refers to the policy rule 406 to identify items (input items) that need to be input to the PIP server 20 to acquire attribute information about the subject and / or resource. For example, in the example of FIG. 5, for the subject, a user title and a user role are identified from the information set for the subject in the policy rule 406, and for the resource, a data store is identified. Next, the policy mapping unit 101 inputs attribute inquiry information in which the identified input items are associated with the setting values of the subject and / or resource in the input policy 501, to the PIP server 20. Here, in the example of FIG. 5, the attribute inquiry information is information beginning with "in:" in the attribute acquisition interface 502.
[0062] When the PIP server 20 acquires attribute inquiry information from the policy mapping unit 101, it refers to the user information table 201, the resource information table 202, etc. to identify attribute information corresponding to the subject and / or resource included in the attribute inquiry information, and returns it as inquiry response information to the policy mapping unit 101. Here, in the example of Fig. 5, the inquiry response information is information beginning with "Out:" in the attribute acquisition interface 402. In the example of Fig. 5, "chief" is returned as the job title of user C, "data user" is returned as the role of user C, and "data store 2" is returned as the data store to which real data 2 belongs.
[0063] Next, the policy mapping unit 101 converts the policy by applying the acquired attributes to the input policy 501, and generates one or more converted policies 503. Here, the converted policies to be generated may be policies that correspond to all possible combinations, or may not include policies that are considered not to need to be judged.
[0064] In the example of Figure 5, the policy mapping unit 101 generates, as the converted policy 503, policy Z1-1 in which the subject is user role = data user, the action is CRUD, and the resource is data store 2, and policy Z1-2 in which the subject is user position = data user, the action is CRUD, and the resource is data store 2.
[0065] Next, the PDP inquiry unit 104 has the policy judgment unit 105 judge whether each of the converted policies 503 conforms to an existing policy, accepts the judgment result (response) 504, and combines the converted policies 503 and the judgment result 504 to generate a judged policy 505.
[0066] In the example of FIG. 5, the policy determination unit 105 determines that policy Z1-1 does not conform to policy Y1 and returns NG (not acceptable), and determines that policy Z1-2 conforms to policy X1 and returns OK (acceptable).
[0067] Next, the policy judgment result checking unit 107 refers to the post-judgment policy 505 and judges whether the judgment results for all policies are pass or not. In this example, since the judgment results for all policies are not pass, the policy automatic correction unit 109 is notified that the judgment results are fail.
[0068] When the policy automatic modification unit 109 is notified by the policy determination result checking unit 107 that the determination result is not acceptable, the policy automatic modification unit 109 modifies the input policy 501 to a policy (automatic modification policy 507) that does not contradict the policy rule 406, and passes it to the policy decision unit 108. As a method of modifying the policy to a policy that does not contradict, for example, the operation of the input policy 501 is set to DENY (access is not permitted).
[0069] The policy determination unit 108 determines the automatic modification policy 507 received from the automatic policy modification unit 109 as the final policy 112 to be set in the PAP server 10 , and transmits it to the PAP server 10 .
[0070] In addition, the automatic modification policy 507 generated by the policy automatic modification unit 109 may be checked in the same manner as the input policy 501, and only when the judgment results for all converted policies are positive, the policy may be passed to the policy determination unit 108.
[0071] According to this process, the input policy can be modified to a suitable policy without any contradictions and registered.
[0072] Next, a processing operation example of the policy setting control device according to the second embodiment will be described. Note that the basic configuration of the policy setting control device according to the second embodiment is similar to that of the policy setting control device 100 according to the first embodiment, so for convenience, the same reference numerals are used for the configurations similar to or corresponding to those of the first embodiment, and duplicated explanations may be omitted.
[0073] FIG. 6 is a diagram illustrating the processing operation of the policy setting control device according to the second embodiment.
[0074] Here, in this processing operation example, as shown in FIG. 6(A), the data resources are actual data 1 in data store 1, actual data 2 (table 2) in data store 2, policies X1 and X2 in system A which adopts ABAC, and policy Y1 according to system B which adopts RBAC, policy Z1 is a candidate policy (input policy) to be newly set, and a policy Z1'' based on an administrator's modification is set in place of policy Z1. This will be described with reference to FIG. 6(B).
[0075] The PIP server 20 stores a user information table 201 that manages user attributes, and a resource information table 202. Note that the entry in the third row in the resource information table 202 does not exist at the start of processing.
[0076] In this processing operation example, the processing up to the generation of the automatic correction policy 507 in the second processing operation example of the first embodiment described above is similar.
[0077] The policy reception unit 110 displays the generated automatic modification policy 507, and receives a newly applied modification policy (administrator modified policy 508) from the data administrator. In the example of Fig. 6, the administrator modified policy 508 has a policy ID of policy Z1', a subject of user.role="data user", an action of R, and a resource of data store 2.
[0078] The policy determination unit 108 generates re-modification policy 509 by modifying the automatic modification policy 507 (for example, by modifying the content to change the operation) based on the administrator modification policy received by the policy reception unit 110 from the data administrator, determines the re-modification policy 509 as the final policy 112 to be set in the PAP server 10, and transmits it to the PAP server 10. Note that the policy determination unit 108 may add an entry corresponding to the administrator modification policy 508 to the resource information table 202 (the third entry in the resource information table 202 in FIG. 6(B)).
[0079] According to this process, the input policy can be modified to a policy without any contradictions, and the modified policy can be registered after accepting modifications to this policy by the administrator.
[0080] Next, a processing operation example of the policy setting control device according to the third embodiment will be described. Note that the basic configuration of the policy setting control device according to the third embodiment is similar to that of the policy setting control device 100 according to the first embodiment, so for convenience, the same reference numerals are used for the configurations similar to or corresponding to those of the first embodiment, and duplicated explanations may be omitted.
[0081] FIG. 7 is a diagram illustrating an example of a processing operation of the policy setting control device according to the third embodiment.
[0082] Here, in an example of processing operation, as shown in FIG. 7(A), the data resources are actual data 1 in data store 1, actual data 2 (table 1) in data store 2, policies X3 and X4 in system A which adopts ABAC, and policy Y3 according to system B which adopts RBAC, policy Z2 is set as a candidate policy (input policy) to be newly set, and an automatically generated policy Z2' is set in place of policy Z2. This will be described with reference to FIG. 7(B).
[0083] The input policy 601 has a policy ID of policy Z2, a subject of user="user C", an action of CRUD, and a resource of table 1.
[0084] The PIP server 20 stores a user information table 201 for managing user attributes, and a resource information table 203. The resource information table 203 stores entries corresponding to resources. The structure of the entries in the resource information table 203 is the same as that of the resource information table 202 in FIG. 6. In the example of FIG. 7, the resource information table 203 indicates that CRUD access is possible for table 1 / data store 2 when the role is data manager, that R (Read) access is possible for table 1 / data store 2 when the job title is in charge, and that R access is possible for table 1 / data store 2 when the role is data user. Note that the entry in the third row in the resource information table 203 does not exist at the start of processing.
[0085] The policy rule 606 of the policy rule storage unit 102 stores one or more policies each including a policy ID, a subject, an action, and a resource. In the example of Fig. 7, the policy rule 606 includes a policy X3, a policy X4, and a policy Y3.
[0086] The policy mapping unit 101 accepts policy Z2, which is the input policy 601. Next, the policy mapping unit 101 refers to the policy rule 606 to identify items (input items) that need to be input to the PIP server 20 to acquire attribute information about the subject and / or resource. For example, in the example of FIG. 7, for the subject, a user title and a user role are identified from the information set for the subject in the policy rule 406, and for the resource, a data store is identified. Next, the policy mapping unit 101 inputs attribute inquiry information in which the identified input items are associated with the setting values of the subject and / or resource in the input policy 601, to the PIP server 20. Here, in the example of FIG. 7, the attribute inquiry information is information beginning with "in:" in the attribute acquisition interface 602.
[0087] When the PIP server 20 acquires attribute inquiry information from the policy mapping unit 101, it refers to the user information table 201, the resource information table 203, etc. to identify attribute information corresponding to the subject and / or resource included in the attribute inquiry information, and returns it as inquiry response information to the policy mapping unit 101. Here, in the example of Fig. 7, the inquiry response information is information beginning with "Out:" in the attribute acquisition interface 602. In the example of Fig. 7, "Superior" is returned as the job title of user C, "Data User" is returned as the role of user C, and "Data Store 2" is returned as the data store to which table 1 belongs.
[0088] Next, the policy mapping unit 101 converts the policy by applying the acquired attributes to the input policy 601, and generates one or more converted policies 603. Here, the converted policies to be generated may be policies that correspond to all possible combinations, or may not include policies that are considered not to need to be judged.
[0089] In the example of Figure 7, the policy mapping unit 101 generates, as the converted policy 603, policy Z2-1 in which the subject is user role = data user, the action is CRUD, and the resource is data store 2, and policy Z2-2 in which the subject is user position = data user, the action is CRUD, and the resource is data store 2.
[0090] Next, the PDP inquiry unit 104 has the policy judgment unit 105 judge whether each of the converted policies 603 conforms to an existing policy, accepts the judgment result (response) 604, and combines the converted policies 603 and the judgment result 604 to generate a judged policy 605.
[0091] In the example of FIG. 7, the policy determination unit 105 determines that policy Z2-1 does not conform to policy Y3 and returns NG (not acceptable), and determines that policy Z2-2 conforms to policy X3 and returns NG (not acceptable).
[0092] Next, the policy judgment result checking unit 107 refers to the post-judgment policy 605 and judges whether the judgment results for all policies are pass or not. In this example, since the judgment results for all policies are not pass, the policy automatic correction unit 109 is notified that the judgment results are fail.
[0093] When the policy automatic correction unit 109 is notified by the policy judgment result checking unit 107 that the judgment result is not acceptable, the policy automatic correction unit 109 corrects the input policy 601 to a policy (automatic correction policy 607) that does not contradict the policy rule 606, and passes it to the policy decision unit 108. As a method of correcting a policy that does not contradict, for example, the operation of the input policy 601 may be the same operation (R in this example) as the operation of the policy (for example, policy Y3) of the policy rule 606 used in the NG judgment.
[0094] The policy determination unit 108 determines the automatic modification policy 607 received from the automatic policy modification unit 109 as the final policy 112 to be set in the PAP server 10, and transmits it to the PAP server 10. Note that the policy determination unit 108 may add an entry corresponding to the automatic modification policy 607 (the third entry in the resource information table 203 in FIG. 7(B)) to the resource information table 203.
[0095] The automatically modified policy 607 generated by the automatic policy modification unit 109 may be checked in the same manner as the input policy 601, and passed to the policy determination unit 108 only if all the judgment results of the converted policy are positive.
[0096] According to this process, the input policy can be modified to a more appropriate policy without any conflict and registered without the involvement of an administrator.
[0097] Next, an example of the processing operation of the policy setting control device according to the fourth embodiment will be described. Note that the basic configuration of the policy setting control device according to the fourth embodiment is similar to that of the policy setting control device 100 according to the first embodiment, so for convenience, the same reference numerals are used for the configurations similar to or corresponding to those of the first embodiment, and duplicated explanations may be omitted.
[0098] FIG. 8 is a diagram illustrating a first processing operation example of the policy setting control device according to the fourth embodiment.
[0099] The input policy 701 has a policy ID of policy Z3, a subject of user="user C", an action of CRUD, and a resource of table 1.
[0100] The PIP server 20 stores a user information table 201 for managing user attributes, and a resource information table 204. The resource information table 204 stores entries corresponding to resources. An entry in the resource information table 204 includes fields for a resource ID, an attribute, a subject, and an action. The resource ID stores the ID of the resource corresponding to the entry. The resource may be a table of a data store or a column in a table. The attribute stores an attribute of the data of the resource corresponding to the entry. Examples of the attribute include sensitive and others. Note that multiple attributes may be associated with one resource. The subject stores a subject that can access the resource corresponding to the entry. The action stores an API (Application Programming Interface) that can be used to access the resource corresponding to the entry and the action that can access it.
[0101] In the example of FIG. 8, the resource information table 204 has the following information for table 1 of data store 2 (sometimes written as table 1 / data store 2): (1) role is data manager or position is chief (role=data manager OR (2) for Sensitive Data X in Column 1 of Table 1 in Data Store 2, an entity whose role is Data User can access it using API2 with the sensitive data masked (Mask+R); (3) for columns other than Sensitive Data X in Column 1 of Table 1 in Data Store 2, an entity whose role is not Data User and whose role is In charge or higher can access them using API3 with the sensitive data masked; (4) for columns other than Column 1 of Table 1 in Data Store 2, an entity whose role is Data User or whose role is In charge or higher can access them using API3 with the sensitive data masked; (5) for Table 1 in Data Store 2, access using API3 is DENY (not possible) if (1) to (4) are not met.
[0102] The policy rule 706 of the policy rule storage unit 102 stores one or more policies including a policy ID, a subject, an action, and a resource. In the example of Fig. 8, the policy rule 706 includes policy X5, policy X6, policy W1, and policy W2. Policy X5 indicates that CRUD is possible for data store 2 when the subject's title is chief or higher, policy X6 indicates that R is possible for data store 2 when the subject's title is in charge or higher, policy W1 indicates that R with masked information is possible for column 1 of table 1 of data store 2 by API2 when the subject's role is data user, and policy W2 indicates that R is possible for columns other than column 1 of table 1 of data store 2 by API3 when the subject's role is data user.
[0103] The policy mapping unit 101 accepts policy Z3, which is the input policy 701. Next, the policy mapping unit 101 refers to the policy rule 706 to identify items (input items) that need to be input to the PIP server 20 to acquire attribute information about the subject and / or resource. For example, in the example of FIG. 8, for the subject, a user title and a user role are identified from the information set for the subject in the policy rule 706, and for the resource, a data store is identified. Next, the policy mapping unit 101 inputs attribute inquiry information in which the identified input items are associated with the setting values of the subject and / or resource in the input policy 701, to the PIP server 20. Here, in the example of FIG. 8, the attribute inquiry information is information beginning with "in:" in the attribute acquisition interface 402.
[0104] When the PIP server 20 acquires attribute inquiry information from the policy mapping unit 101, it refers to the user information table 201 etc. to identify attribute information corresponding to the subject and / or resource included in the inquiry information, and returns it as inquiry response information to the policy mapping unit 101. Here, in the example of Fig. 8, the inquiry response information is information beginning with "Out:" in the attribute acquisition interface 402. In the example of Fig. 8, "Superior" is returned as the job title of user C, "Data User" is returned as the role of user C, and "Data Store 2, Column 1 Sensitive Data X, API2 (Subject / Action), Others, API3 (Administrator), and API1 are returned as resources and APIs related to table 1.
[0105] Next, the policy mapping unit 101 converts the policy by applying the acquired attributes to the input policy 701, and generates one or more converted policies 703. Here, the converted policies to be generated may be policies that correspond to all possible combinations, or may not include policies that are considered not to need to be judged.
[0106] In the example of Figure 8, the policy mapping unit 101 generates, as the converted policies 703, policy Z3-1, where the subject is the user role = data user, the operation is CRUD, and API2 is used for column 1 of table 1 of data store 2; policy Z3-2, where the subject is the user role = data user, the operation is CRUD, and API3 is used for columns other than column 1 of table 1 of data store 2; and policy Z3-3, where the subject is the user position = chief, the operation is CRUD, and API1 is used for table 1 of data store 2.
[0107] Next, the PDP inquiry unit 104 has the policy determination unit 105 determine whether each of the converted policies 703 conforms to an existing policy (which in this embodiment is basically the same as the policy rule 706), accepts the determination result (response) 704, and combines the converted policies 703 and the determination result 704 to generate a determined policy 705.
[0108] In the example of Figure 8, the policy determination unit 105 determines that policy Z3-1 does not conform to policy W1 and returns NG (not acceptable), determines that policy Z3-2 does not conform to policy W2 and returns NG (not acceptable), and determines that policy Z3-3 does not conform to policies X5 and X6 and returns NG (not acceptable).
[0109] Next, the policy judgment result checking unit 107 refers to the post-judgment policy 705 and judges whether the judgment results for all policies are pass or not. In this example, since the judgment results for all policies are not pass, the policy automatic correction unit 109 is notified that the judgment results are fail.
[0110] When the policy automatic correction unit 109 is notified by the policy judgment result check unit 107 that the judgment result is not acceptable, the policy automatic correction unit 109 corrects the input policy 701 to a policy (automatic correction policy 707) that is not inconsistent with the policy rule 706, and passes it to the policy decision unit 108. As a method of correcting a policy that is not inconsistent, for example, the operation of the input policy 701 is made the same as the operation of the policy rule 706 used in the judgment of NG. For example, for column 1 of table 1 in the resource of policy Z3, a policy (policy Z3-1') is made in which the operation of policy W1 (Mask+R using API2) is used, and for columns other than column 1 of table 1 in the resource of policy Z3, a policy (policy Z3-2') is made in which the operation of policy W2 (R using API3) is used.
[0111] The policy determination unit 108 determines the automatic modification policy 707 received from the automatic policy modification unit 109 as the final policy 112 to be set in the PAP server 10 , and transmits it to the PAP server 10 .
[0112] Next, a second processing operation example of the policy setting control device according to the fourth embodiment will be described.
[0113] FIG. 9 is a diagram illustrating a second processing operation example of the policy setting control device according to the fourth embodiment.
[0114] The input policy 801 has a policy ID of policy Z4, a subject of user="user C", an action of CRUD, and a resource of table 2.
[0115] The PIP server 20 stores a user information table 201 for managing user attributes and a resource information table 205. The resource information table 205 has the same configuration as the resource information table 204 in Fig. 8, and further includes entries not shown in Fig. 8. In addition to the entries of the resource information table 204, the resource information table 205 in Fig. 9 indicates that, for table 2 of data store 2 (sometimes written as table 2 / data store 2), (1) an entity whose role is data administrator or whose title is supervisor (role = data administrator OR title = supervisor) can access CRUD via API1, (2) an entity whose role is data user or whose title is in charge or higher can access table 2 of data store 2 via API3, and (3) if (1) to (2) do not apply, access via API3 to table 2 of data store 2 is DENY (not possible).
[0116] The policy rule 806 of the policy rule storage unit 102 stores one or more policies including a policy ID, a subject, an action, and a resource. In the example of FIG. 9, the policy rule 806 includes policy X7, policy X8, policy W3, policy W4, and policy W5. Policy X7 indicates that CRUD is possible for the data store 2 when the subject's title is a supervisor or higher, policy X8 indicates that R is possible for the data store 2 when the subject's title is a person in charge or higher, policy W3 indicates that R is possible for table 2 of data store 2 by API2 when the subject's role is a data user, policy W4 indicates that R with masked information is possible for column 1 of table 2 of data store 2 by API2 when the subject's role is a data user, and policy W5 indicates that R is possible for columns other than column 1 of table 2 of data store 2 by API3 when the subject's role is a data user. Note that policies W4 and W5 are policies that are created by the similar policy extraction unit 111 by identifying another table (an example of a second resource: in this example, table 1) similar to table 2 (an example of a first resource) as a policy for table 2, and inferring it as a policy for table 2 based on the access restriction policy for the identified other table.
[0117] The policy mapping unit 101 accepts policy Z4, which is the input policy 801. Next, the policy mapping unit 101 refers to the policy rule 806 to identify items (input items) that need to be input to the PIP server 20 to acquire attribute information about the subject and the resource. For example, in the example of FIG. 9, for the subject, a user title and a user role are identified from the information set for the subject in the policy rule 806, and for the resource, a data store is identified. Next, the policy mapping unit 101 inputs attribute inquiry information that associates the identified input items with the setting values of the subject and / or the resource in the input policy 801, to the PIP server 20. Here, in the example of FIG. 9, the attribute inquiry information is information starting with "in:" in the attribute acquisition interface 402.
[0118] When the PIP server 20 acquires attribute inquiry information from the policy mapping unit 101, it refers to the user information table 201 etc. to identify attribute information corresponding to the subject and / or resource included in the inquiry information, and returns it as inquiry response information to the policy mapping unit 101. Here, in the example of Fig. 9, the inquiry response information is information beginning with "Out:" in the attribute acquisition interface 402. In the example of Fig. 9, "Superior" is returned as the job title of user C, "Data User" is returned as the role of user C, and "Data Store 2, Column 1 Sensitive Data X, API2 (Subject / Action), Others, API3 (Administrator), and API1 are returned as resources and APIs related to table 2.
[0119] Next, the policy mapping unit 101 converts the policy by applying the acquired attributes to the input policy 801, and generates one or more converted policies 803. Here, the converted policies to be generated may be policies that correspond to all possible combinations, or may not include policies that are considered not to need to be judged.
[0120] In the example of Figure 9, the policy mapping unit 101 generates, as the converted policy 803, policy Z4-1, where the subject is the user role = data user, the operation is CRUD, and API2 is used for column 2 of data 2 in data store 2; policy Z4-2, where the subject is the user role = data user, the operation is CRUD, and API3 is used for columns other than column 1 of table 2 in data store 2; and policy Z4-3, where the subject is the user position = chief, the operation is CRUD, and API1 is used for table 1 in data store 2.
[0121] Next, the PDP inquiry unit 104 has the policy determination unit 105 determine whether each of the converted policies 803 conforms to an existing policy (which in this embodiment is basically the same as the policy rule 806), accepts the determination result (response) 804, and combines the converted policies 803 and the determination result 804 to generate a determined policy 805.
[0122] In the example of Figure 9, the policy judgment unit 105 judges that policy Z4-1 does not conform to policy W4 and returns NG (not acceptable), judges that policy Z4-2 does not conform to policy W5 and returns NG (not acceptable), and judges that policy Z4-3 does not conform to policies X7 and X8 and returns NG (not acceptable).
[0123] Next, the policy judgment result checking unit 107 refers to the post-judgment policy 805 and judges whether the judgment results for all policies are pass or not. In this example, since the judgment results for all policies are not pass, the policy automatic correction unit 109 is notified that the judgment result is fail.
[0124] When the policy automatic correction unit 109 is notified by the policy judgment result check unit 107 that the judgment result is not acceptable, the policy automatic correction unit 109 corrects the input policy 801 to a policy (automatic correction policy 807) that is not inconsistent with the policy rule 806, and passes it to the policy decision unit 108. As a method of correcting a policy that is not inconsistent, for example, the operation of the input policy 801 is made the same as the operation of the policy rule 806 used in the judgment of NG. For example, for column 1 of table 2 in the resource of policy Z4, a policy (policy Z4-1') is made in which the operation of policy W4 (Mask+R using API2) is used, and for columns other than column 1 of table 2 in the resource of policy Z4, a policy (policy Z4-2') is made in which the operation of policy W5 (R using API3) is used.
[0125] The policy determination unit 108 determines the automatic modification policy 807 received from the automatic policy modification unit 109 as the final policy 112 to be set in the PAP server 10, and transmits it to the PAP server 10. After this, the PAP server 10 registers the final policy 112, and uses this registered final policy 112 to make access decisions.
[0126] According to this process, even if a policy corresponding to sensitive information is not set for a table, the input policy can be modified and registered to an appropriate, consistent policy by utilizing the policies of other similar tables.
[0127] The present invention is not limited to the above-described embodiment, and can be modified as appropriate without departing from the spirit of the present invention.
[0128] For example, in the above embodiment, the policy determination unit 105 is provided within the policy setting control device 100, but the function of the policy determination unit 105 may be provided in an external device other than the policy setting control device 100.
[0129] In the above embodiment, a part or all of the processing performed by the CPU may be performed by a hardware circuit. The program in the above embodiment may be installed from a program source. The program source may be a program distribution server or a storage medium (e.g., a portable storage medium). [Explanation of symbols]
[0130] 1... policy utilization system, 10... PAP server, 20... PIP server, 100... policy setting control device, 101... policy mapping unit, 102... policy rule storage unit, 104... PDP inquiry unit, 105... policy judgment unit, 107... policy judgment result check unit, 108... policy decision unit, 109... policy automatic correction unit, 110... policy reception unit, 111... similar policy extraction unit, 122... CPU
Claims
1. A policy setting control device for controlling setting of a policy for controlling access to a resource, The policy setting control device includes a processor, The policy includes a resource to be accessed, a subject to access, and an action to be taken to access the resource, The processor, Accepts input of candidate policies to be newly set, obtaining attribute values corresponding to subject and / or resource values included in the candidate policy; generating one or more transformed policies by changing subject and / or resource values of the candidate policies to the obtained attribute values; If all the generated post-conversion policies are consistent with the existing policies, the candidate policies are set as new policies. Policy setting control device.
2. The processor, It is determined whether the converted policy is consistent with the existing policy. The policy setting control device according to claim 1 .
3. The processor, If there is no consistency between the converted policy and the existing policy, the operation in the candidate policy is changed to not be executed, and the changed policy is set. The policy setting control device according to claim 1 .
4. The processor, If there is no consistency between the converted policy and the existing policy, the candidate policy is changed to a narrower policy and the changed policy is set. The policy setting control device according to claim 1 .
5. The processor, If the converted policy is not consistent with the existing policy, the operation of the candidate policy is changed to a narrower operation. The policy setting control device according to claim 4 .
6. The processor, Modifying the candidate policy to provide an operation in which at least some of the data of the resource of the candidate policy is masked. The policy setting control device according to claim 5 .
7. The processor, If there is no consistency between the converted policy and the existing policy, a modified policy is received from an administrator, the candidate policy is changed to a content corresponding to the modified policy, and the modified policy is set as a new policy. The policy setting control device according to claim 1 .
8. The processor, If the modified policy is consistent with an existing policy, the candidate policy is modified to a content corresponding to the modified policy, and the modified policy is set as a new policy. The policy setting control device according to claim 7 .
9. The processor, A policy for the first resource is inferred based on a policy for a second resource similar to the first resource of the candidate policy, and the inferred policy is added to the existing policy. The policy setting control device according to claim 1 .
10. The first resource and the second resource are tables. The policy setting control device according to claim 9 .
11. The processor, The converted policy and a result of consistency between the converted policy and the existing policy are displayed and output. The policy setting control device according to claim 1 .
12. A policy setting control method by a policy setting control device that controls setting of a policy that controls access to a resource, comprising: The policy includes a resource to be accessed, a subject to access, and an action to be taken to access the resource, The policy setting control device includes: Accepts input of candidate policies to be newly set, obtaining attribute values corresponding to subject and / or resource values included in the candidate policy; generating one or more transformed policies by changing subject and / or resource values of the candidate policies to the obtained attribute values; If all the generated post-conversion policies are consistent with the existing policies, the candidate policies are set as new policies. Policy setting control method.
13. A policy setting control program executed by a computer that controls setting of a policy that controls access to a resource, The policy includes a resource to be accessed, a subject to access, and an action to be taken to access the resource, The computer includes: Accept input of a candidate policy to be newly set, obtaining attribute values corresponding to subject and / or resource values included in the candidate policy; generating one or more transformed policies by changing subject and / or resource values of the candidate policies to the obtained attribute values; If all the generated post-conversion policies are consistent with the existing policies, the candidate policies are set as new policies. Policy setting control program.
Citation Information
Patent Citations
Security management device in open decentralized environment
JP1995141296A
Information processor, policy management method, storage medium and program
JP2007233610A
Access right management method, access management system and access right management program
JP2009193289A
Policy determination apparatus, method and program
JP2012108629A
Policy generation system and method
JP2014519131A
