TOC 
SWAD-Europe projectG. Klyne
 Nine by Nine
 December 18, 2002

Scenarios for using RDF in support of Trust and Access Control

Abstract

This memo describes some scenarios in which RDF might be used to model trust and access control in networked systems.

SWAD Europe

This memo has been prepared for the SWAD-Europe project, as a strand of CLRC/RAL participation.

© 2002 CCLRC



 TOC 

Table of Contents




 TOC 

1. Introduction

This memo describes some scenarios in which RDF [2][3] might be used to model trust and access control in networked systems. The intent is to propose some systems that could form the basis of some experimental modelling in RDF, to learn if and how RDF can be used to support trust in open systems.

The scenarios examined are based around the following themes, in some cases considering a number of variations of increasing complexity:

....

1.1 Structure of this memo

Each of the following sections 2-5 develops scenarios inspired by one of the trust management themes mentioned above. Within each theme, the various scenarios are presented in a sequence that is believed to allow an experimental implemenation of each to be based on, and extend, impementations of the preceding, simpler, cases.



 TOC 

2. Role based access control

Role based access control is concerned with controlling access to network resources by means of policies which associate access rights with assigned roles.

The role based access control scenarios considered are:

2.1 Simple access control

This scenario considers very simple access control to a network resource.

The access control is described in terms of:

The process for accessing the resource is:

  1. The Principal (P) requiring access sends a request to the resource server (RS).
  2. RS fields request and forwards details to access control policy decision server (AC).
  3. AC returns a decision on access to RS (permit, deny + obligations).
  4. RS checks obligations, and performs any required actions.
  5. RS acts on original request.
  6. RS returns response containing resource data to P.

2.2 Access control requiring additional disclosure

The simple access control scenario is extended by a requirement that the requesting principal discloses some additional information before access to the resource is granted. This information may be sensitive in nature, and the resource server must indicate what use will be made of this data (e.g. using P3P[4].)

The access control is described in terms of the same parties that participate in the simple access control scenario.

The process for accessing the resource is:

  1. The Principal (P) requiring access sends a request to the resource server (RS).
  2. RS fields request and forwards details to access control policy decision server (AC).
  3. AC needs additional information from requester: sends request back to RS.
  4. RS sends request for additional to P, accompanied by privacy policy information (e.g. P3P).
  5. P checks privacy policy, and provides requested information to RS. This requires a trust assessment on the part of P.
  6. RS passes the additional information to AC.
  7. AC returns a decision on access to RS (permit, deny + obligations).
  8. RS checks obligations, and performs any required actions.
  9. RS acts on original request.
  10. RS returns response containing resource data to P.

2.3 Medical record access

This scenario is taken directly from the OASIS XACML technical committee Use Cases document[5]. It introduces a number of specific access control considerations concerning access to medical records in a variety of circumstances.

Refer to pages 1-4 of XACML Use Cases[5] for details of this scenario and its variants.



 TOC 

3. Web provisioned e-commerce service

These scenarios are concerned with payment for and subsequent delivery of a service.

The scenarios considered are:

In the future, consideration may be given to extensions of this theme to brokerage and composition of services [[[See notes from discussion with Michael Wilson]]].

3.1 Online software purchase

This scenario is about the simplest online purchase I could conceive. By focusing on online delivery, and assuming that the software product has been evaluated, the complications of physical delivery and trust that the delivered product will perform as required are avoided.

The purchase is described in terms of:

The process for purchasing the product or service is:

  1. The Purchaser (P) initiates a transaction with the merchant (M), indicating details of the product to be purchased.
  2. M fields the request and requests payment details from P. The request is accompanied by a privacy policy statement that indicates what use will be made of any information collected.
  3. P evaluates the privacy policy and provides payment details. This requires P to make some trust evaluations: that M will use the information provided for only the disclosed purposes, and, on receipt of confirmation of payment, M will make the purchased product or service available to P. P must also trust the payment service (PS) that only the agreed payment will be transferred.
  4. M receives payment details and passes them to the payment service MS. This may require that M have some reasonable degree of trust in the details provided, because there may be costs associated with presenting bad payment details.
  5. MS confirms that the payment details are valid. If MS has a trusting relationship with PS, confirmation may may be by direct communication with PS, otherwise with with some other party with whom both MS and PS have a trusting relationship.
  6. MS returns confirmation of payment authorization to M. In some cases, this may be a provisional confirmation, and M must make a trusting decision whether or not to proceed with the transaction.
  7. M authorizes P to access the software product or service, and sends details of how to exercise the permission granted.
  8. P accesses the product or service.
  9. M submits payment authorization details to MS for subsequent transfer of funds. This should be linked to some kind of audit trail so that M can demonstrate that the transaction for which payment is claimed was in fact completed.
  10. MS interacts with PS to effect the funds transfer.

Future consideration may be given to extensions of this scenario to deal with claims by P that a funds transfer was not properly authorized. A number of different models may exist for apportioning risk in such circumstances.

3.2 Book purchase

This scenario extends the previous one in that a physical delivery from merchant (M) to purchaser (P) must be performed in order to complete the transaction.

The basic procedure is the same as the previous scenario, except that a trusted delivery service is needed, and some kind of evidence of delivery may augment or replace the online transaction audit.

The required trust relationships are also similar, except that M incurs real costs in procuring and shipping physical goods, so the details of risk analysis may vary.

A possible variation of the procedure would be cash on delivery, in which payment for the goods is collected by the delivery service and passed to the merchant. This may greatly reduce the required trust between P and M, but M, and possibly P, must have some kind of trusting relationship with the delivery service.

3.3 Laptop computer purchase

This scenario extends the previous one in a number of respects:

In view of the above, the following steps may take place prior to the purchasing transaction:

  1. The Purchaser (P) consults one or more reviewing (or rating) services (R) for evaluations of products of interest. This implies that P has some degree of trust in R.
  2. Based on reviews consulted, P makes a decision about what product to purchase. In making this decision, P must have some level of trust in the brand manufacturer (B) that an instance of the chosen product will correspond in important respects to that which was reviewed.
  3. In selecting a merchant (M) from which to make a purchase, P must make a trust evaluation concerning the serivice quality and after sales support provided by the combination of B and M (which may also be informed by consulting reviewing services).
  4. In some cases (notably, credit card companies), the payment service (PS) may provide some additional guarantee of compensation in the event that the goods supplied are inappropriate or broken on arrival.

Once P has made a purchasing decision, the purchase transaction is the same as the previous scenario, except that the higher value of the goods will affect the risk assessent for all parties.

3.4 Online auction

The previous scenarios assume that the purchaser (P) has some knowledge of the merchant (M) from whom they are purchasing. The online auction scenario may change this, in that it is a means for any person or company to offer one-off items for sale.

In an on-line auction, the auction service (A) is an intermediary between P and M for the purposes of agreeing a sale, though P and M alone may be responsible for completing an agreed transaction.

Also different in an online auction is that when the purchaser makes an offer, they don't know if it will be accepted.

So, in an online auction, the trust relationship is significantly more difficult to evaluate:

The auction itself is a process which takes place prior to the purchasing transaction between P and M, which (apart from the trust issues already noted) should not be greatly different from purchase transaction processes described previously.

It is difficult to discern a clear pattern of trust relationship in an online auction, and this could be a fruitful area for investigation of various possible trust relationships.



 TOC 

4. Home control

Let us examine the role of trust and access control in a home control network that includes a number of simple embedded devices.

The scenarios considered here are:

4.1 Home heating and power management

This scenario considers the following elements:

The following security concerns should be considered:

4.2 Home security

The previous example is extended to home security, where more complex behaviours may be needed to ensure that security is maintained.

The following elements are considered:

The following actions and situations might be considered:

The possible combinations of trigger events and responses here become quite complex, so this scenario would challenge the use of RDF to represent rules, and using them to determine appropriate responses to different combinations of events.

4.3 Personalized presentation of controls

A typical home has very many different permanent and termporary occupants, with very different levels of trust and ability; e.g. the home owner, children, familiy friends, visiting traders, etc.

The following elements are considered:

Operation of facilities that are needed by all (e.g. local operation of lights) should be simple and direct. Access to other facilities, and disclosure of associated information, should be limited to those with the authority and ability to use them.

A number of different devices might participate in the control scenario, including many with "soft" interfaces (e.g. mobile telephones, PDAs with infrared or Bluetooth interface, universal remote control devices, computer terminals). The interface that is presented to an authenticated user of such a device could be tailored to present only those interface elements that they are authorized to use.

Thus, when accessing the system, a user interface is constructed to dynamically reflect the information and controls available to the authenticated user. For example, some may have access to all facilities; others may be permitted only to access their own voice messages and turn lights on and off.

This is another scenario that could be used to test the use of RDF to represent rules, and using such descriptions to determine system behaviour. The selection of access rights must be based on trust assessments of the various users.



 TOC 

5. Network management

This theme examines the interactions between network management, access control and trust. Network devices enforces access control, and are also subject to access control.

An important feature is the ability to fully utilize existing network security enforcement devices, as well as suggesting design directions for new security components.

The scenarios considered are:

5.1 Internet access from a home network

This scenario uses RDF metadata in a home business network connected to the Internet by a Cisco dial-on-demand ISDN router.

Illustration of home network elements

This illustration is also available in PDF format

Network access is provided by an ISP dial-up account that provides unmetered access up to a specified weekly limit.

The network users are two parents who use the Internet for business, and two children who use it for play and social purposes. The working adults require occasional access at any time. The children's access has to be restricted, otherwise they would quickly exceed the total connect time allowed by the ISP.

The Cisco ISDN router runs Cisco's proprietary IOS software, which has a system of IP-addressed based filters that are quite capable of restricting access at different times based on the IP address of the internal host. Creating the correct IOS configuration files for this kind of selective filtering is quite a tricky task. The router can accept an externally defined configuration via the TFTP protocol.

Within the local network, machines are assigned IP addresses using DHCP. The DHCP service is provided by a Linux host running DHCPD and a local DNS service.

Given all this, the goal is to use RDF to specify the access policy and device configuration requirements, and use RDF tools to generate the desired configuration files for the Cisco ISDN router and the Linux-based services.

A demonstration of this scenario has been implemented. The implementation is described by Using RDF for Home Network Configuration[7]. See also http://www.ninebynine.org/SWAD-E/Intro.html#HomeNetAccessDemo.

5.2 Firewall configuration

Using common Linux system system and software to implement a router/firewall, extend the tools described in the previous scenario to generate all necessary firewall system configuration files from an access policy description presented in RDF.

This might be extended to include corporate network security configuration, where multiple configuration files are generated for the various firewall and other security policy enforcement devices in a network.

5.3 Virtual Private Network (VPN) configuration

Virtual Private Network (VPN) configuration involves not only the establishment of appropriate security policies for network access, and protecting the network from unauthorized access, but also the marshalling of resources to provide secure connectivity, possibly stretching over several administrative domains.

The capability to work with a range of different network device types is crucial, as different administrative domains may use different kinds of equipment. Driving configuration of diverse devices from a common policy file, as illustrated above, would be a key goal of this scenario. Also required is that the configuration details are bound to appropriate authenticating information so that property security and charge-back arrangements can be maintained across multiple domains. Authenticated priority information is also required, so that appropriate allocation of resources can be achieved.

The various levels of authentication will be derived from trust relations between the various participants. In some cases, proof-carrying authentications might be used to permit participation of principals who are not themselves known to the party who is providing them with access to resources.

Details of this scenario are rather vague. To develop this more fully will require some greater knowledge of VPN technologies than I posess. The scenario is mentioned here because I understand there is a real desire for adequate solutions to this problem, and it seems to be a well defined problem that shares many requirements with grid computing.



 TOC 

6. Acknowledgements

Some of the scenarios described here have resulted from discussions with Brian Matthews and Michael Wilson of Rutherford Appleton Laboratory. The network configuration ideas have been inspired in part by an architectural proposal for network configuration using XML [6].

This document has been authored in XML using the format described in RFC 2629 [1], and converted to HTML using the XML2RFC utility developed by Marshall Rose (http://xml.resource.org/).



 TOC 

References

[1] Rose, M., "Writing I-Ds and RFCs using XML", RFC 2629, June 1999.
[2] Lassila, O. and R. Swick, "Resource Description Framework (RDF) Model and Syntax Specification", W3C Recommendation rdf-syntax, February 1999.
[3] Brickley, D. and R. Guha, "Resource Description Framework (RDF) Schema Specification 1.0", W3C Candidate Recommendation CR-rdf-schema, March 2000.
[4] Marchiori, M., Cranor, L., Langheinrich, M., Presler-Marshall, M. and J. Reagle, "The Platform for Privacy Preferences 1.0 (P3P1.0) Specification", W3C Recommendation REC-PICS-services, April 2002.
[5] Moses, F., "Clinical Record Use Cases", OASIS Committee Working Draft draft-xacml-usecase-01a, September 2001.
[6] Atarashi, R., Shimojo, T., Atarashi, Y., Miyake, S., Kitani, M., Baker, F. and M. Wasserman, "XML Configuration Architecture", draft-atarashi-xmlconf-architecture-00 (work in progress), October 2002.
[7] Klyne, G., "Using RDF for Home Network Configuration", December 2002.


 TOC 

Author's Address

  Graham Klyne
  Nine by Nine
  14 Chambrai Close
  Appleford
  Abingdon, Oxon OX14 4NT
  UK
EMail:  GK-SWAD-E@ninebynine.org
URI:  http://www.ninebynine.net/


 TOC 

Appendix A. Revision history

2002-12-17:
  • Document initially created.
  • Created content scenarios outline.
  • Added descriptions of access control and home network Internet access scenarios.

2002-12-18:
  • Added CCLRC copyright notice.
  • Added description of home control and network management scenarios.