Is there any way that smart contract can access xacml policies?

by Shirisha Kollapuram   Last Updated February 11, 2019 05:28 AM

I am trying to implement role based access control model using blockchain. How do i store these policies? Later my smartcontract should be able to allow or deny the rquest of user based on policie.

Thank you.

Answers 1

I think its doable. Yes, users would be permitted or denied access to a function based on their address. Its worth noting that such restriction would not apply to read-only operations owing to the transparent nature of ethereum.

A good starting point is role-based access control in the open zeppelin library.

Hope it helps.

Rob Hitchens B9lab
Rob Hitchens B9lab
February 11, 2019 05:19 AM

Related Questions

access control on blockchain?

Updated December 13, 2017 03:28 AM