Home > Articles > Software Development & Management

This chapter is from the book The Nirvana of Access Control and Policy Management

The Nirvana of Access Control and Policy Management

There are a number of initiatives in the industry related to access control and policy management, such as IETF, DMTF, and OASIS. Each of them produces specifications for policy and has corresponding industry support groups. Sometimes architects and developers are confused about whether they are related or whether they are competing. For example, a telecommunication service provider wants to build a generic policy engine for determining the security policy for service-on-demand home network services and network infrastructure services. IETF (http://www.ietf.org/html.charters/policy-charter.html) and DMTF (http://www.wbemsolutions.com/tutorials/CIM/dmtf-policies.html) have produced policy specifications. The Parlay Group (http://www.parlay.org/about/policy_management/index.asp) has also issued a framework specification on policy management, which is targeted for implementing security services and access-control policies in the telecommunications sector. Which policy management specification should the telecommunication service provider choose? This section summarizes each policy management specification and discusses how they are related.

It is important for security architects and developers to understand that although these standards and industry groups share the same term “policy,” they use the term to denote different meanings. The term “policy” may refer to specific data formats, protocols, operational semantics, and logical architectural framework components. For example, many policy frameworks (such as IETF policy framework) specify operational components such as Policy Enforcement Point (PEP), Policy Decision Point (PDP), Policy Issuing Point (PIP), and Attribute Authorities. These policy operational components are not necessarily restricted to security access control; they can be applicable to general business services as well. There are also specific data flows between these architectural components. These architectural components are practically logical and agnostic to specific physical infrastructure.

There are two XML standards related to policy and access control: SAML and XACML. SAML provides specific data formats (also known as “assertions”) and protocols (XML-based, and not network protocol) for communicating between architectural components using those data formats (for example, Attribute Query and Response, Authorization Decision Query and Response, and so forth). SAML describes a very basic (or primitive) assertion format and protocol for communicating between a PEP and a PDP, but does not specify the operation of a PDP (that is, how it reaches its decision). It also does not specify how a PDP gets the information on which its decision will depend (that is, the policies).

XACML (eXtensible Access Control Markup Language) provides specific data formats (for example, Request and Response Context, PolicySet or Policy, and so forth) and specifies how the PDP component must operate in order to process an authorization decision request from a PEP. XACML 2.0 defines a SAML profile to extend SAML for interoperation with SAML. Refer to the previous section on “Use of XACML 2.0 with SAML 2.0” for details.

IETF Policy Management Working Group

The IETF Policy Management Working Group defines a structure (also called architecture) to manage policies by a policy management service (for example, a graphical user interface administration console), a dedicated policy repository (for example, directory server), a policy decision point (for example, policy server), a policy enforcement point (for example, firewall, routers), and local policy decision points (aka scaled-down policy decision points). The IETF policy framework is widely referenced in network infrastructure products, such as Cisco Quality of Service Policy Manager and SOCKS v5 with IPSec. Another example is Common Open Policy Service (COPS), which is a network client-server protocol between policy decision points and policy enforcement points in the telecommunications sector. In summary, the IETF policy framework provides a good architecture framework, but it does not define any specific communication protocol or software component.

The IETF policy framework introduces key operational elements (for example, PDP) in the policy management area. There are two security patterns, Load Balancing PEP and Clustered PEP, that apply the principle of these operational elements to implement network perimeter security. Refer to Chapter 8, “The Alchemy of Security Design: Methodology, Patterns, and Reality Checks,” for details. However, the IETF policy framework is too generic and does not provide details of the data formats or the underlying protocols that are necessary to support end-to-end security for distributed applications and business services, particularly for J2EE-based applications and Web services.

Distributed Management Task Force (DMTF)

DMTF collaborates with IETF to work on a policy architecture that includes more application infrastructure protocols (such as LDAP, FTP, and SOAP) and refines a declarative data model with details of a policyRule, policyGroup, policyAction, and policyCondition defined in a Common Information Model (CIM). IPSec policy is a direct result of the collaboration. DMTF also defines a set of CIM policy data models (CIM Policy version 2.6 and version 2.7) that are also available in XML Schema. There is wide support of Web-based Enterprise Management (WEBM) and CIM in the computer hardware component and system management areas.

DMTF has published a CIM data model for policy. With the XML Schema, the CIM data models can be used for Web-based application development. However, the CIM data model is fairly generic for policy definition. It does not provide a specific communication protocol or interaction mechanism that business applications (not systems management applications) can use.

Parlay Group

The Parlay Group has defined a framework for policy management related to secure access using a Parlay gateway. It has API definitions that can define new rules (createRule), define conditions (createCondition), retrieve actions (getAction) and action lists (setActionList), and commit transactions (commitTransactions). For example, architects and developers can create a set of policies that allow newly created users to access broadband Internet services upon successful provisioning of their service accounts. Unfortunately, there is no mature commercial implementation of the Parlay policy product available. In addition, the Parlay policy management API specification is very telecommunication-domain–specific, and it does not currently provide any integration mechanisms for use with other security specifications such as SAML.

Strictly speaking, the Parlay policy management API specification is not yet another policy framework, as is IETF and DMTF. It intends to provide APIs that can work on top of policy standards and frameworks. It does not create specific data formats or protocols. Nor does it create a policy language. Thus, it should not be confused with other policy standards that have their own architecture models.

Enterprise Privacy Authorization Language (EPAL)

EPAL is another policy markup language specification drafted by IBM (http://www.w3.org/Submission/2003/SUBM-EPAL-20031110/). It is designed to address data privacy, privacy audit, and enforcement requirements. EPAL allows privacy-rule administrators to define ruling, user category, action, data category, purpose, condition, and obligation. EPAL has some elements specific to data privacy but they are not necessarily relevant to access control. For example, the element <data-category> is an element that describes the type of resources (as in “resource” in XACML). The element <purpose> may be relevant to access control, but not always. EPAL requires a <purpose> element to describe both data privacy and access control, however, which makes it problematic for use as a general purpose access control language. The concept and usage of the elements <rule> and <condition> are similar to XACML. However, EPAL does not support sub-policies or the concept of combining algorithms (that is, combining multiple rule or policy results into a single overall response), which are often used in complex access-control environments. Instead, it can support a sequence of rules.

EPAL 1.1 reuses the <xacml:condition> element of the XACML condition language. In EPAL 1.2, IBM dropped any reference to XACML and submitted the draft specifications to W3C (http://www.w3.org/Submission/2003/SUBM-EPAL-20031110/). Currently, EPAL is in draft status and is not an approved standard or in pre-standard status yet.

For a detailed analysis on comparing EPAL and XACML refer to [Anne1]. Table 7–1 summarizes the comparison of EPAL and XACML from a Sun white paper (refer to [Anne1] for details and http://research.sun.com/projects/xacml for an updated comparison).

Table 7–1 High-Level Comparison of EPAL and XACML

Features

EPAL

XACML

Remarks

Decision request

X

X

EPAL is a functional subset of XACML.

Nested policies

Not Supported

X


Policy references

Not Supported

X


Rule

X

X

Functional equivalent.

Combining algorithm and precedence

X

X

EPAL is a functional subset of XACML.

Vocabulary

X

Not Supported


Attribute values

X

X

Identical.

Attribute mapping

X

X

Functional equivalent.

Attribute retrieval

X

X

Identical.

XML attribute values

Not Supported

X


Hierarchical entities

X

X

EPAL and XACML support different models for hierarchical entities.

Subjects with multiple attributes

X

X

EPAL is a functional subset of XACML.

Multiple subjects

Not Supported

X


Purpose attribute

X

X

EPAL is a functional subset of XACML.

Error handling

X

X

EPAL is a functional subset of XACML.

Targets or pre-conditions

X

X

EPAL is a functional subset of XACML.

Condition

X

X

Functional equivalent.

Revision number

X

X

Functional equivalent.

Data types

X

X

EPAL is a functional subset of XACML.

Functions

X

X

EPAL is a functional subset of XACML.

Obligations

X

X

EPAL is a functional subset of XACML.

Multiple responses

Not Supported

X


Status as a standard

Proposal to W3C

OASIS standard


EPAL introduces the concept of a policy vocabulary that is not available in XACML. Refer to the next section for the discussion of XACML. The element <vocabulary> points to a separate file that specifies the collection of attributes needed in order to evaluate the policy. Attributes in a vocabulary are grouped into containers. Each separate container specifies a collection of attributes that can be obtained together from a single source. It may also represent a subset of attributes that would be used by a given rule in a policy. However, there is a drawback when designing complex policies: The need to group attributes into containers in a vocabulary may actually add to complexity by requiring vocabulary managers to be aware of the structure of the rules in the policy.

In contrast, XACML provides a richer set of access-control and privacy features that are not available in EPAL version 1.2. This includes the following features:

  • Combination of the results of multiple policies that are developed by potentially independent policy issuers
  • The ability to reference other policies as part of a given policy
  • The ability to specify conditions on multiple subjects that may be involved in making a request
  • The ability to return multiple results when access to a hierarchical resource is being requested
  • Support for subjects who must simultaneously be in multiple independent hierarchical roles or groups
  • Clear handling of error conditions and missing attributes
  • Support for attribute values that are XML schema elements
  • Support for additional primitive data types (including X.500 Distinguished Names and RFC822 names)

Web Services Policy–WS-Policy and WSPL

Web services policies are necessary in order to specify the conditions or assertions regarding the interactions between two Web services endpoints, such as authentication, authorization, quality of protection, quality of service, privacy, reliable messaging, and service-specific options (such as bandwidth guarantee). There are two emerging policy-related specifications: WS-Policy and WSPL (Web services policy language).

Web Services Policy Framework (WS-Policy) is part of the Web Services roadmap and specifications (aka WS*) proposed by Microsoft, IBM, VeriSign, and others. It is primarily a policy language that defines policies for Web services; these policies are a collection of “policy alternatives” (a collection of policy assertions such as authentication scheme, privacy policy, and so forth). WS-Policy encodes the policy definition in XML using SOAP messages for data exchange.

The policy definitions in the WS-Policy specification are not restricted to access control or privacy, a fact that differentiates WS-Policy from XACML and EPAL. Security architects and developers can use WS-Policy to specify the type of security token, digital signature algorithm, and encryption mechanism for a SOAP message (for example, a payment message), or even partial contents of a SOAP message (for example, credit card number). It can also specify data-privacy or data-confidentiality rules. However, WS-Policy does not specify how to discover policies or how to attach a policy to a Web service. It relies on other WS* specifications (for example, WS-PolicyAttachment) to provide full functionality of policy management.

The other necessary component of WS-Policy is the definition of a set of policy assertions for each policy domain. For example, the assertions for use with WS-Security are defined in WS-SecurityPolicy. Each specification or schema to be controlled or managed by WS-Policy will require definition of a new set of assertions. The authors suggest that in the future, assertions will be defined as part of the underlying specification or schema rather than in a separate document as was required for WS-SecurityPolicy.

Under the WS-Policy model, a policy for Web services denotes conditions or assertions regarding the interactions between two Web services endpoints. The service provider exposes a Web services policy for the services they provide. The service requester will decide, using the policies, whether they want to use the service, and if so, the “policy alternative” they wish to use. In other words, WS-Policy does not have the notion of a Policy Enforcement Point (which enforces policies) and a Policy Decision Point (which determines policies). It leaves the policy enforcement and decision to the service providers and service requesters.

WSPL (Web Services Policy Language) is based on XACML (refer to the next section for details) and is currently a working draft in the OASIS XACML technical committee. It uses a strict subset of XACML syntax (restricted to Disjunctive Normal Form) and has a different evaluation engine than XACML has. XACML evaluates the access-control policies with a given set of attributes and policies, while WSPL determines what the mutually acceptable sets of attributes are when given two policies. For a good introduction on WSPL refer to [Anne3].

WSPL has provided similar functionality to define policies for Web services. WSPL has the semantics of policy (set of rules) and operators (which allow comparison between an attribute of the policy and a value, or between two attributes of the policy). The policy syntax also supports rule preference. There are three distinctive features in WSPL. First, it allows policy negotiation, which can merge policies from two sources. Second, policy parameter allows fine-grained parameters such as time of day, cost, or network subnet address to be defined in a policy for Web services. Third, the design of WSPL is flexible enough to support any type of policy by expressing the policy parameters using standard data types and functions.

One main problem WSPL has addressed is the negotiation of policies for Web services. Negotiation is necessary when choices exist, or when both parties (Web services consumers and service providers) have preferences, capabilities, or requirements. In addition, it is necessary to automate service discovery and connection related to policies.

WSPL shares similar policy definition capabilities with WS-Policy. Example 7–11 shows a policy defined in WS-Policy, which specifies the security token usage and type for the Web services. It uses the element <ExactlyOne> to denote the security token usage.

Example 7–11 Policy for a security token usage and type defined in WS-Policy
<wsp:Policy>
   <wsp:ExactlyOne>
      <wsse:SecurityToken>
         <wsse:TokenType>wsse:Kerberosv5TGT
         </wsse:TokenType>
      <wsse:/SecurityToken>
      <wsse:SecurityToken>
         <wsse:TokenType>X509v3
         </wsse:TokenType>
      <wsse:/SecurityToken>
   </wsp:ExactlyOne>

</wsp:Policy>

Example 7–12 shows that the same policy can be expressed in WSPL. WSPL translates the policy requirements into two rules. This makes it more descriptive and extensible in the event that security architects and developers need to add more operators or constraints.

Example 7–12 Policy for security token usage and type using WSPL
<Policy PolicyId=“policy:1” RuleCombiningAlgorithm=“&permit-overrides;”>
   <Rule RuleId=“rule:1” Effect=“Permit”>
     Condition FunctionId=“&function;string-is-in”>
      <AttributeValue DataType=“&string;”>Kerberosv5TGT</AttributeValue>
      <ResourceAttributeDesignator 
          AttributeId=“&SecurityToken;”
          DataType=“&string;”/>
     </Condition>
   </Rule>

  <Rule RuleId=“rule:2” Effect=“Permit”>
     <Condition FunctionId=“&function;string-is-in”>
        <AttributeValue    
            DataType=“&string;”>X509v3</AttributeValue>
        <ResourceAttributeDesignator 
           AttributeId=“&SecurityToken;”
           DataType=“&string;”/>
     </Condition>
   </Rule>
 </Policy>

The following are identified as technical limitations of WS-Policy when compared with WSPL (refer to [Anne2] for details):

  • Negotiation. WS-Policy does not specify a standard merge algorithm or a standard way to specify policy negotiation (for example, for merging policies from two sources). Specifications for domain-specific WS-Policy Assertions may describe how to merge or negotiate assertions, but these methods are domain-specific.
  • Assertion Comparison. Since there is no standard language for defining Assertions in WS-Policy, there is no standard way to describe requirements such as “fee > 25.” Again, specifications for domain-specific WS-Policy Assertions may describe schema elements for such comparisons, but the implementation of these elements must be done on a domain-by-domain basis since there is no standard.
  • Dependency. WS-Policy is designed to depend on extensions. Each extension must be supported by a custom evaluation engine.

Web services policy specifications are still evolving. Some of them have specific problems (for example, policy negotiation) to address. It is possible that these specifications may expand and converge into one single standard in the future. For security architects and developers, it is useful to understand the policy language design, architectural components, and differences behind these specifications and to determine whether these policy specifications meet their technical requirements before they adopt them for prototypes and implementations.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020