Blockchain-driven dynamic access control
Embodiments of the present disclosure include a processing device that receives a proposed block for inclusion on a blockchain, the proposed block including a proposed update to an access control policy and an update condition for evaluating the proposed update, transmits an access request to be evaluated according to a modified version of the access control policy that incorporates the proposed update to generate access results, and transmits a determination for the inclusion of the proposed block on the blockchain in view of the access results.
1. A method of access control comprising:
receiving a proposed block for inclusion on a blockchain, the proposed block comprising a proposed update to an access control policy and an update condition for evaluating the proposed update, wherein the update condition of the proposed block comprises executable code to generate an access request;
transmitting, by a processing device, the access request to a host device of the access control policy, wherein the access request is evaluated by the host device according to a modified version of the access control policy that incorporates the proposed update to generate access results; and
transmitting a determination for the inclusion of the proposed block on the blockchain in view of the access results.
2. The method of claim 1 , further comprising:
updating the proposed block with the access results.
3. The method of claim 1 , wherein the access request is generated according to the update condition of the proposed block.
4. The method of claim 1 , wherein the update condition of the proposed block comprises expected access results, and
wherein transmitting the determination for the inclusion of the proposed block on the blockchain in view of the access results comprises generating the determination based on whether the access results match the expected access results of the update condition.
5. The method of claim 1 , wherein transmitting, by the processing device, the access request comprises transmitting the access request to a server that compares the access request to the modified version of the access control policy that incorporates the proposed update.
6. The method of claim 1 , wherein the proposed block for inclusion on the blockchain is dynamically generated responsive to an access event that requests a modification to the access control policy.
7. An apparatus comprising:
a memory; and
a processing device, operatively coupled to the memory, to:
receive a proposed block for inclusion on a blockchain, the proposed block comprising a proposed update to an access control policy and an update condition for evaluating the proposed update, wherein the update condition of the proposed block comprises executable code to generate an access request;
transmit the access request to a host device of the access control policy, wherein the access request is evaluated by the host device according to a modified version of the access control policy that incorporates the proposed update to generate access results; and
transmit a determination for the inclusion of the proposed block on the blockchain in view of the access results.
8. The apparatus of claim 7 , wherein the processing device is further to:
update the proposed block with the access results.
9. The apparatus of claim 7 , wherein the access request is generated according to the update condition of the proposed block.
10. The apparatus of claim 7 , wherein the update condition of the proposed block comprises expected access results, and
wherein to transmit the determination for the inclusion of the proposed block on the blockchain in view of the access results, the processing device is to generate the determination based on whether the access results match the expected access results of the update condition.
11. The apparatus of claim 7 , wherein to transmit the access request, the processing device is to transmit the access request to a server that compares the access request to the modified version of the access control policy that incorporates the proposed update.
12. The apparatus of claim 7 , wherein the proposed block for inclusion on the blockchain is dynamically generated responsive to an access event that requests a modification to the access control policy.
13. A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to:
receive a proposed block for inclusion on a blockchain, the proposed block comprising a proposed update to an access control policy and an update condition for evaluating the proposed update, wherein the update condition of the proposed block comprises executable code to generate an access request;
transmit, by the processing device, the access request to a host device of the access control policy, wherein the access request is evaluated by the host device according to a modified version of the access control policy that incorporates the proposed update to generate access results; and
transmit a determination for the inclusion of the proposed block on the blockchain in view of the access results.
14. The non-transitory computer-readable storage medium of claim 13 , wherein the processing device is further to:
update the proposed block with the access results.
15. The non-transitory computer-readable storage medium of claim 13 , wherein the access request is generated according to the update condition of the proposed block.
16. The non-transitory computer-readable storage medium of claim 13 , wherein the update condition of the proposed block comprises expected access results, and
wherein to transmit the determination for the inclusion of the proposed block on the blockchain in view of the access results, the processing device is to generate the determination based on whether the access results match the expected access results of the update condition.
17. The non-transitory computer-readable storage medium of claim 13 , wherein to transmit the access request, the processing device is to transmit the access request to a server that compares the access request to the modified version of the access control policy that incorporates the proposed update.