Difference between revisions of "Policy-Based Access Control"

From MgmtWiki
Jump to: navigation, search
(Existing Languages)
m (Other Material)
(30 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
* The most common [[Attribute]]-Based Access Control language [[XACML]] expanded their scope in version 3.0 to include the description [[Policy-Based Access Control]] although policy statement was defined in earlier versions.
 
* The most common [[Attribute]]-Based Access Control language [[XACML]] expanded their scope in version 3.0 to include the description [[Policy-Based Access Control]] although policy statement was defined in earlier versions.
  
==Existing Languages==
+
===Existing Languages===
===XACML===
+
These are all written by geeks, and for geeks. What is needed is some policy that works in a real-world user journey. In other words, the user needs to be able to understand what is expected and when.
* [http://docs.oasis-open.org/xacml/3.0/xacml-3.0-core-spec-os-en.doc XACML 3.0 core spec.]
 
* This spec is written in XML with no regard of size of the message. XML can easily be converted to json and this is the spec that describes the process.
 
* While it is oriented to an overly complex structure using monolithic designs, it has well-thought-out elements that should remain useful in the domain where it was applied. It is less useful in new areas like application of areas like [[COVID Vaccination]].
 
  
===LegalRuleML===
+
For more background see the page [[Policy Language]].
Is also an [https://www.oasis-open.org/2021/09/28/oasis-open-approves-legalruleml-core-v1-0-standard-for-legislation-contract-and-case-law/ OASIC spec] that attempts to turn law into machine readable format. This wiki page is focused more on the application of the policy to access control.
 
  
===Drools===
+
===Cardea===
* Supposedly this is open, which apparently apples to the java code implementation which is at the follow site.
+
They have been working with the government of Aruba and come up with the most through look at the problem in 2022. The have picked the unfortunate name of '''Machine Readable Governance''', but it really is a description of the government's policy. Unfortunately, it might change daily and does not meet the requirement of testing by the user and remaining valid for even the duration of a flight from the US to the island.
* [https://docs.jboss.org/drools/release/7.1.0.Final/drools-docs/html_single/ Drools documentation.]
+
* [https://hackmd.io/@mikekebert/HyjBmusEF#/ Machine Readable Governance.] A JWT with a mishmash of different levels of abstraction from human readable questions to access policy.
* "Drools is Rule Engine or a Production Rule System that uses the rule-based approach to implement and Expert System. Expert Systems are knowledge-based systems that use knowledge representation to process acquired knowledge into a knowledge base that can be used for reasoning."
+
* [https://github.com/thecardeaproject/cardea Cardea on GitHub.]
* The rules supported by Drools look a lot like a domain specific programming language, not a business rules language.
 
  
===HL7 CQL===
+
==Solution==
* [https://cql.hl7.org Clinical Quality Language] (CQL) is a high-level, domain-specific language focused on clinical quality and targeted at measure and decision support artifact authors.
+
This wiki page is interested in the machine-readable policy language and how it can be applied to access control.
* In addition, this specification describes a machine-readable canonical representation called Expression Logical Model (ELM) targeted at implementations and designed to enable sharing of clinical knowledge.
 
  
==Solution==
+
===Policy Distribution===
 +
Policy can be made at the government level or by a resource owner. When a user is attempting to access some digital resource or some real-world venue, it is typically important for the user to know if they have the credentials to achieve their objective in advance.  For example, in the [https://kantarainitiative.org/confluence/display/PEMCP/Biometric+Pre+Check Biometric Pre-Check use case] the traveler (denoted as the holder in the image below) is expected to be able to determine if they can pass through the check-in line before they even leave home for the airport. The solid lines in the figure below are data transfers. The dotted lines are physical presentations, not all of which are required in every case.
  
 
[[File:PolicyFLows.png]]
 
[[File:PolicyFLows.png]]
 +
 +
===User Experience===
 +
It is expected as the [[Mobile Driver's License]] become commonly available that identity and health credentials will generally be available in the holder's [[Smartphone]].
  
 
==References==
 
==References==
 
+
<references />
 
===Other Material===
 
===Other Material===
 
* For policy applied at the web page origin see the wiki page on [[Content Security Policy]].
 
* For policy applied at the web page origin see the wiki page on [[Content Security Policy]].
Line 36: Line 34:
 
[[Category: Glossary]]
 
[[Category: Glossary]]
 
[[Category: Authorization]]
 
[[Category: Authorization]]
 +
[[Category: Policy]]

Revision as of 09:03, 7 October 2022

Full Title or Meme

Policy-Based Access Control or PBAC is any system where Access is mediated by Access Tokens that are evaluated by a digital policy language and policy control engine.

Context

  • The most common Attribute-Based Access Control language XACML expanded their scope in version 3.0 to include the description Policy-Based Access Control although policy statement was defined in earlier versions.

Existing Languages

These are all written by geeks, and for geeks. What is needed is some policy that works in a real-world user journey. In other words, the user needs to be able to understand what is expected and when.

For more background see the page Policy Language.

Cardea

They have been working with the government of Aruba and come up with the most through look at the problem in 2022. The have picked the unfortunate name of Machine Readable Governance, but it really is a description of the government's policy. Unfortunately, it might change daily and does not meet the requirement of testing by the user and remaining valid for even the duration of a flight from the US to the island.

Solution

This wiki page is interested in the machine-readable policy language and how it can be applied to access control.

Policy Distribution

Policy can be made at the government level or by a resource owner. When a user is attempting to access some digital resource or some real-world venue, it is typically important for the user to know if they have the credentials to achieve their objective in advance. For example, in the Biometric Pre-Check use case the traveler (denoted as the holder in the image below) is expected to be able to determine if they can pass through the check-in line before they even leave home for the airport. The solid lines in the figure below are data transfers. The dotted lines are physical presentations, not all of which are required in every case.

PolicyFLows.png

User Experience

It is expected as the Mobile Driver's License become commonly available that identity and health credentials will generally be available in the holder's Smartphone.

References

Other Material