access control - Writing a sample ABAC authorization policy using ALFA and XACML -


I am new to XACML and am writing the policy using ALFA. The policy I want to write is to set the transfer limit for a bank of $ 2000 if the amount to be transferred is more than that, the operation must be denied.

How do I do this?

Thank you!

In case of usage you have a lot easier I suggest that you write it in English first And then in alpha:

  • A user can action == transfer to type == bank account on the account if and only then If the amount was transferred & lt; Zodiac limit (example 2000 in your case) ==> Permission
  • All Other Matters == & gt; In / Li> type = string} attribute resource type {class = resourceCat id = "resourceType" type = string} attribute amount {class = resourceCat id = "zodiac" type = double} / ** * Can be 'action == transfer' on the resource of the user `` ===================================================== " Transfer Per * & lt; Amount Range `(For example 2000 in your case) == & gt; ** Permit ** * * * / Policy Transfer {Target Clause ActionID == "Transfer" and ResourceType == "Bank Account" Apply firstRequest rule {condition amount < = Limit permit} reject the rule; DenyTransfer {deny}}}

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -