<?xml version="1.0"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc toc="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<?rfc editing="no"?>
<?rfc private="SWAD-Europe project"?>
<rfc docName="Trust-scenarios">
  <front>
    <title abbrev="RDF Trust Scenarios">Scenarios for using RDF in support of Trust and Access Control</title>
    <author initials="G." surname="Klyne" fullname="Graham Klyne">
      <organization abbrev="Nine by Nine">Nine by Nine</organization>
      <address>
        <postal>
          <street>14 Chambrai Close</street>
          <street>Appleford</street>
          <city>Abingdon</city>
          <region>Oxon</region>
          <code>OX14 4NT</code>
          <country>UK</country>
        </postal>
        <phone>+44 1235 848491</phone>
        <phone>+44 1235 848562</phone>
        <email>GK-SWAD-E@ninebynine.org</email>
        <uri>http://www.ninebynine.net/</uri>
      </address>
    </author>
    <date day="22" month="December" year="2002"/>
    <keyword>Security</keyword>
    <keyword>Trust</keyword>
    <keyword>W3C</keyword>
    <keyword>RDF</keyword>
    <keyword>Semantic web</keyword>
    <keyword>Access control</keyword>
    <keyword>Authorization</keyword>

    <abstract>
      <t>This memo describes some scenarios in which RDF might be used
         to model trust and access control in networked systems.</t>
         
    </abstract>
    <note title="SWAD Europe">
      <t>This memo has been prepared for the
         <eref target="http://www.w3.org/2001/sw/Europe/">SWAD-Europe project</eref>,
         as a strand of 
         <eref target="http://www.bitd.clrc.ac.uk/Activity/ACTIVITY=SWAD-Europe;">CLRC/RAL participation</eref>.</t>
    <note title="&copy; 2002 CCLRC"/>
    </note>
  </front>

  <middle>

<!-- Introduction -->
<section anchor="Introduction" title="Introduction">

  <t>This memo describes some scenarios in which RDF 
     <xref target="W3C.rdf-syntax"/>
     <xref target="W3C.rdf-schema"/>
     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.
     </t>

  <t>The scenarios examined are based around the following themes, 
     in each case considering a number of variations of increasing 
     complexity:
     <list style="symbols">
       <t>Access control to a data resource on a network.
          </t>
       <t>Web provisioned e-commerce service.
          </t>
       <t>Home control.
          </t>
       <t>Network management.
          </t>
       </list>
     </t>

  <section title="Structure of this memo">
    <t>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 implementation 
       of each to be based on, and extend, implementations of the preceding, 
       simpler, cases.
       </t>
  </section>

</section>



<!-- Role based access control -->

<section anchor="Section-access-control" 
         title="Access control">

  <t>Access control is concerned with controlling access
     to network resources by means of policies which associate access
     rights directly or indirectly with a user's authenticated identity,
     and possibly some additional information.
     </t>

  <t>The role based access control scenarios considered are:
     <list style="symbols">
       <t>Simple access control
          </t>
       <t>Access control with additional disclosure and privacy policy
          </t>
       <t>Role based access control
          </t>
       <t>Medical record access
          </t>
       </list>
     </t>

  <t>In advanced scenarios, not described here in detail, access control
     maybe based on authorizing decisions made in different administrative
     domains.  A common example of this is access to the member-only area
     of the W3C web site:  employees of member organizations are permitted
     such access.  A member organization designates a person who is authorized
     by W3C to name individuals who are employees of the member organization.
     The combination of these authorizing decisions is used as the basis of
     access control.  
     (This idea is described more fully in
     <xref target="ref-W3CSwebProposal">Semantic Web Development Technical Proposal</xref>
     and
     <xref target="ref-W3CSwebActivity">W3C Semantic Web Activity</xref>;
     see also <xref target="ref-Weaving">Weaving a Web of Trust</xref>).
     The role based access control scenario describes the first steps to creating
     such a distributed access control decision structure.
     </t>

  <t>Note that access control may be applied in a very direct sense, i.e. controlling
     simple access to some information, or in a more comprehensive fashion, dealing
     not only with access, but addition, change or removal of information, or
     performing actions that affect resources other than just information.
     </t>

  <section title="Simple access control">
    <t>This scenario considers very simple access control to a
       network resource, keyed directly from the identity of the
       principal who is requesting access.  (How that identity
       is determined and verified is not covered in this scenario.)
       </t>

    <t>The access control is described in terms of:
       <list style="symbols">
         <t>a Principal (P) who attempts to access some network resource,
            </t>
         <t>a Resource Server (RS) that provides access to the resource,
            and
            </t>
         <t>an Access Control policy decision server (AC) that makes
            decisions about whether or not access is permitted.
            </t>
         </list>
       </t>
    
    <t>The process for accessing the resource is:
       <list style="numbers">
         <t>The Principal (P) requiring access sends a request to the 
            resource server (RS).
            </t>
         <t>RS fields request and forwards details to access control 
            policy decision server (AC).
            </t>
         <t>AC returns a decision on access to RS 
            (permit, deny + obligations).
            </t>
         <t>RS checks obligations, and performs any required actions.
            </t>
         <t>RS acts on original request.
            </t>
         <t>RS returns response containing resource data to P.
            </t>
         </list>
       </t>
       
    <t>Obligations are mentioned above.  These refer to the idea that 
       there is some action associated with granting access to a resource.  
       For example, it may be that all access must be logged, 
       or a payment is required.
       Some obligations may be under control of the resource server 
       (e.g. logging) and others may require cooperation of the principal
       to whom access is granted (e.g. payment).
       </t>

  </section>

  <section title="Access control requiring additional disclosure">
    <t>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 <xref target="W3C.P3P">P3P</xref>.)
       </t>

    <t>The access control is described in terms of the same parties
       that participate in the simple access control scenario.
       </t>
    
    <t>The process for accessing the resource is:
       <list style="numbers">
         <t>The Principal (P) requiring access sends a request to the 
            resource server (RS).
            </t>
         <t>RS fields request and forwards details to access control 
            policy decision server (AC).
            </t>
         <t>AC needs additional information from requester: 
            sends request back to RS.
            </t>
         <t>RS sends request for additional to P, 
            accompanied by privacy policy information (e.g. P3P).
            </t>
         <t>P checks privacy policy,
            and provides requested information to RS.
            This requires a trust assessment on the part of P.
            </t>
         <t>RS passes the additional information to AC.
            </t>
         <t>AC returns a decision on access to RS 
            (permit, deny + obligations).
            </t>
         <t>RS checks obligations, and performs any required actions.
            </t>
         <t>RS acts on original request.
            </t>
         <t>RS returns response containing resource data to P.
            </t>
         </list>
       </t>

  </section>

  <section title="Role based access control">

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

    <t>This scenario is essentially similar to the previous scenarios
       (with or without a requirement to disclose additional information),
       in which the principal first performs an authentication step that
       verifies they have been authorized to operate in some given role.
       Access rights are then specified in terms of authorized roles
       rather than the identity of the accessing party.  Thus, a role
       serves as a level of indirection between authentication and
       access control policy, creating scope for simplification of
       some management tasks.
       </t>

    <t>The access control is described in terms of the same components
       considered previously, with the addition of:
       <list style="symbols">
         <t>An Identification Server (IS) that accepts identifying credentials 
            from a principal, verifies them in some way, and indicates the roles
            in which the principal may act;
            </t>
         </list>
       </t>
    
    <t>The process for accessing a resource is revised as:
       <list style="numbers">
         <t>The Principal (P) connecting to the system contacts the Identity
            Server (IS), supplying appropriate credentials.  IS checks the 
            credentials and determines the roles in which P is allowed to
            act.
            </t>
         <t>P, requiring access to some resource, sends a request to the 
            resource server (RS), indicating the role in which it is acting.
            </t>
         <t>RS fields the request and verifies that P is authenticated and
            authorized for the requested role.  
            Various verification mechanisms are possible:
            P may provide cryptographically secured credentials
            issued by IS as part of the authentication step;
            or RS may contact IS directly to check the role is 
            authenticated to the requesting party (assuming some
            secure form of identification is available).
            </t>
         <t>RS forwards details of the request and role to the 
            access control policy decision server (AC).
            </t>
         <t>AC returns a decision on access to RS 
            (e.g. permit, deny + obligations).
            </t>
         <t>RS checks obligations, and performs any required actions.
            </t>
         <t>RS acts on the original request.
            </t>
         <t>RS returns a response containing resource data to P.
            </t>
         </list>
       </t>

    <t>Roles could be viewed as a kind of ontology of users, and ontological
       reasoning may be an effective way of mapping policies to access 
       decisions.
       </t>

    <t>When using role based access control, the access control decision may
       extend to requiring additional information from the Principal, for
       which there may be privacy considerations (see previous scenario).
       Role based access control is based on role rather than personal details;
       privacy concern suggests a personalized level of access, which might
       therefore be not entirely consistent with role based access control.
       </t>

  </section>

  <section title="Medical record access">

    <t>This scenario is taken directly from the OASIS XACML technical committee
       <xref target="OASIS.xacml-usecases">Use Cases document</xref>.
       It introduces a number of specific access control considerations
       concerning access to medical records in a variety of circumstances.
       </t>

    <t>Refer to pages 1-4 of
       <xref target="OASIS.xacml-usecases">XACML Use Cases</xref>
       for details of this scenario and its variants.
       </t>

  </section>

</section>



<!-- Web provisioned e-commerce service -->

<section anchor="Section-ecommerce-web" 
         title="Web provisioned e-commerce service">

  <t>These scenarios are concerned with payment for and subsequent
     delivery of a service.
     </t>

  <t>The scenarios considered are:
     <list style="symbols">
       <t>Online software purchase.
          </t>
       <t>Book purchase.
          </t>
       <t>Laptop computer purchase.
          </t>
       <t>Online auction.
          </t>
       </list>
     </t>

  <t>In the future, consideration may be given to extensions of this theme
     to brokerage and composition of services.
     See the section <xref target="sect-FurtherWork">Further work</xref>.
     </t>

  <section title="Online software purchase">
    <t>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.
       </t>

    <t><list>NOTE:  the description that follows is not based on any actual 
       payment protocol, nor is it a blueprint for an actual secure payment
       system implementation, but is intended to reflect a reasonable scenario
       of trust relationships between participants.
       </list></t>

    <t>The purchase is described in terms of:
       <list style="symbols">
         <t>a Purchaser (P) who is paying for some product or service,
            </t>
         <t>a merchant (M) who is providing the product or service,
            and
            </t>
         <t>a customer payment service (PS), e.g. bank or credit card company,
            who the purchaser authorizes to make payment on their behalf.
            </t>
         <t>a merchant payment collection service (MS) that collects
            funds from PS and transfers them to the vendor.
            </t>
         </list>
       </t>

    <t>The process for purchasing the product or service is:
       <list style="numbers">
         <t>The Purchaser (P) initiates a transaction with the merchant (M),
            indicating details of the product to be purchased.
            </t>
         <t>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.
            </t>
         <t>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.
            </t>
         <t>M receives payment details and passes them to the 
            payment collection 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.
            </t>
         <t>MS confirms that the payment details are valid.
            If MS has a trusting relationship with PS, confirmation may
            be by direct communication with PS, otherwise with
            some other party with whom both MS and PS have a trusting 
            relationship.
            </t>
         <t>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.
            </t>
         <t>M authorizes P to access the software product or service,
            and sends details of how to exercise the permission granted.
            </t>
         <t>P accesses the product or service.
            </t>
         <t>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.
            </t>
         <t>MS interacts with PS to effect the funds transfer.
            </t>
         </list>
       </t>

  <t>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.
     </t>

  </section>

  <section title="Book purchase">

    <t>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.
       </t>

    <t>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.
       </t>

    <t>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.
       </t>

    <t>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.
       </t>

  </section>

  <section title="Laptop computer purchase">

    <t>This scenario extends the previous one in a number of respects:
       <list style="symbols">
         <t>The value of goods is very much higher, so the risks are 
            correspondingly different.
            </t>
         <t>There is a significant possibility that the goods are not 
            suitable, or may be broken.  (While this may be possible 
            with books, it is not normally an issue.)
            </t>
         <t>Buying a "big ticket" item online, without actually being
            present to evaluate the goods, the purchaser (P) may choose
            to rely on some reviewing (or rating) service (R) to provide 
            an evaluation of the product and its suitability for some 
            purpose(s).
            </t>
         <t>In selecting goods to be purchased, the purchaser may take 
            into account the brand reputation of the manufacturer (B).
            </t>
         </list>
       </t>

    <t>The issue noted above as "brand reputation" touches on a key area 
       for trust management:  direct and indirect experience with a given 
       supplier may have a significant effect on the level of trust that
       is appropriate to extend in a given circumstance.
       </t>

    <t>In view of the above, the following steps may take place prior 
       to the purchasing transaction:
       <list style="numbers">
         <t>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.
            </t>
         <t>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.
            </t>
         <t>In selecting a merchant (M) from which to make a purchase,
            P must make a trust evaluation concerning the service
            quality and after sales support provided by the combination 
            of B and M (which may also be informed by consulting 
            reviewing services).
            </t>
         <t>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.
            </t>
         </list>
       </t>

    <t>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 assessment for all parties.
       </t>

  </section>

  <section title="Online auction">

    <t>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.
       </t>

    <t>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.
       </t>

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

    <t>So, in an online auction, the trust relationship is significantly 
       more difficult to evaluate:
       <list style="symbols">
         <t>P may have little or no information about M upon which to 
            make a trust assessment.
            </t>
         <t>P may have to rely on secondary guarantees 
            (e.g. from a payment service (PS) or from A).
            </t>
         <t>M may not have a trusting relationship with any payment
            collection service.  So it may be necessary for P and M 
            to establish some kind of direct trust relationship in
            order to complete an agreed purchase transaction.
            </t>
         <t>Taken together, the above points mean that both P and M
            must exercise greater levels of trust and have less 
            information on which to make trust assessments, compared 
            with a normal merchant/customer relationship.
            </t>
         <t>Both P and M must trust A that all valid bids will be 
            properly tallied, without any form of discrimination
            among bidders.
            </t>
         </list>
       </t>

    <t>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.
       </t>

    <t>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.</t>
       
    <t>The <eref target="http://www.ebay.co.uk">eBay</eref> auction 
       model extends the role of the auction service in two 
       significant ways, both of which aim to address the issue
       of trust:
       <list style="numbers">
         <t>The service operates a "rating forum", in which users 
            offer feedback from their experience of trading with
            other parties.  These are presented back to all users
            in the form of a rating, which has the intended effect 
            of discouraging or exposing bad faith behaviour and 
            increasing overall levels of trust.
            </t>
         <t>The auction service is a "matchmaker", and does not have 
            any direct participation in the final transaction
            between seller and buyer.  But it does (in the UK) act 
            as a guarantor of last resort: 
            see <eref target="http://pages.ebay.co.uk/help/community/fpp.html"/>.
            (In the US, there is a product warranty service:
            see <eref target="http://pages.ebay.com/help/warranty/seller_overview.html"/>.)
            </t>
         </list>
       </t>

  </section>

</section>

<!-- Home control -->

<section anchor="Section-home-control" 
         title="Home control">

  <t>This theme examines the role of trust and access control in a 
     home control network that includes a number of simple embedded 
     devices.
     </t>

  <t>In these scenarios, we are concerned with interactions between:
     <list style="symbols">
       <t>embedded home control and sensor devices (which may not of 
          themselves be capable of implementing any meaningful security),
          </t>
       <t>web-accessible personal information
          (which may be of a personal or confidential nature),
          and
          </t>
       <t>remote access (via Internet) to physical aspects of 
          one's personal space.
          </t>
       </list>
     </t>

  <t>The scenarios considered here are:
     <list style="symbols">
       <t>Home heating and power management
          </t>
       <t>Home security
          </t>
       <t>Personalized presentation of controls
          </t>
       </list>
     </t>

  <section title="Home heating and power management">

  <t>This scenario considers the following elements:
     <list style="symbols">
       <t>A continuous process switches the home heating to maintain a target 
          temperature indoor temperature, and lighting to achieve appropriate 
          levels of illumination, dependent on occupancy and time of day.
          </t>
       <t>A web calendaring service provides planned occupancy information 
          (at home, away during daytime, away for several days) for each of 
          the home's normal occupants.
          </t>
       <t>Occupancy information may be temporarily overridden by local control, 
          or by remote command
          </t>
       <t>Alternative occupants may be specified for scheduled intervals 
          (e.g. visitors).
          </t>
       </list>
     </t>

  <t>The following security concerns should be considered:
     <list style="symbols">
       <t>Authority to set system configuration details, such as 
          target temperature under certain circumstances.
          Inappropriate setting could lead to wasted energy,
          discomfort or frost damage.
          </t>
       <t>Authority to set information about occupancy.
          Inappropriate setting could lead to wasted energy or
          discomfort.
          </t>
       <t>Authority to remotely override normal settings.
          </t>
       <t>Access to information about normal occupants, and especially
          to information about their movements.
          </t>
       <t>Access to information about alternative occupants, 
          and especially to information about their movements.
          </t>
       </list>
     </t>

  </section>

  <section title="Home security">

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

  <t>The following elements are considered:
     <list style="symbols">
       <t>occupancy detectors,
          </t>
       <t>occupants' schedules,
          </t>
       <t>lights,
          </t>
       <t>alarms, and
          </t>
       <t>door lock operation.
          </t>
       </list>
     </t>

  <t>The following actions and situations might be considered:
     <list style="symbols">
       <t>Doors can be opened by local key or authenticated remote command.
          </t>
       <t>Occupancy detectors trigger alarm when there is no authorized occupancy.
          </t>
       <t>Opening a door with key together with some form of authentication 
          indicates that there is authorized occupancy.
          </t>
       <t>Open door with remote command indicates authorized occupancy
          which may be for a limited time interval.
          </t>
       <t>Using a key to lock the doors indicates that authorized occupancy
          is finished.
          </t>
       <t>A short period of no detected occupancy at a time when occupancy 
          is not scheduled terminates any authorization of occupancy.
          </t>
       <t>A longer period of no detected occupancy at a time when occupancy 
          is scheduled cancels any authorization of occupancy.
          </t>
       <t>At night time without any detected occupancy, lights are operated in 
          a pattern suggesting people are present.
          </t>
       <t>Any authorized occupancy not in accordance with schedule 
          triggers an alert (not an alarm), which can be received up 
          remotely (e.g. by web access or phone message).
          </t>
       </list>
     </t>

    <t>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.
       </t>

    <t>A possibly important capability to explore in this scenario is
       the detection of conflicting or otherwise conflicting rules.
       </t>

  </section>

  <section title="Personalized presentation of controls">

    <t>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, 
       family friends, visiting traders, etc.
       </t>

  <t>The following elements are considered:
     <list style="symbols">
       <t>occupancy detectors,
          </t>
       <t>temperature sensors,
          </t>
       <t>light sensors,
          </t>
       <t>door sensors,
          </t>
       <t>cameras and camera controls,
          </t>
       <t>voice messages,
          </t>
       <t>lights,
          </t>
       <t>alarms,
          </t>
       <t>door controls,
          </t>
       <t>remote access, and
          </t>
       <t>possibly many other forms of system interface.
          </t>
       </list>
     </t>

    <t>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.
       </t>

    <t>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.
       </t>

    <t>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.
       </t>

    <t>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.
       </t>

  </section>

</section>

<!-- Network  management -->

<section anchor="Section-network-management"
         title="Network management">

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

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

  <t>The scenarios considered are:
     <list style="symbols">
       <t>Internet access from a home network.
          </t>
       <t>Firewall configuration.
          </t>
       <t>Virtual Private Network (VPN) configuration.
          </t>
       </list>
     </t>

  <section title="Internet access from a home network">

      <t>This scenario uses RDF metadata in a home business 
         network connected to the Internet by a Cisco 
         dial-on-demand ISDN router.
         </t>
      <figure>
        <artwork src="Scenario-HomeNetwork/HomeNetwork.gif" alt="Illustration of home network elements"/>
      </figure>
      <t>This illustration is also available in 
         <eref target="Scenario-HomeNetwork/HomeNetwork.pdf">PDF format</eref>
         </t>
      <t>Network access is provided by an ISP dial-up account that 
         provides unmetered access up to a specified weekly limit.
         </t>
      <t>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.
         </t>
      <t>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.
         </t>
      <t>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.
         </t>
      <t>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.
         </t>
      <t>A demonstration of this scenario has been implemented.
         The implementation is described by
         <xref target="ref-HomeNetwork">Using RDF for Home Network Configuration</xref>.
         See also <eref target="http://www.ninebynine.org/SWAD-E/Intro.html#HomeNetAccessDemo"/>.
         </t>

  </section>

  <section title="Firewall configuration">

    <t>Using common Linux 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.
       </t>

    <t>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.
       </t>

  </section>

  <section title="Virtual Private Network (VPN) configuration">

    <t>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.
       </t>

    <t>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.
       </t>

    <t>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.
       </t>

    <t>Details of this scenario are rather vague.  To develop this
       more fully will require some greater knowledge of VPN
       technologies than I posses.  
       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.
       </t>

  </section>

</section>

<section anchor="sect-FurtherWork" 
         title="Further Work">

  <t>These scenarios only scratch the surface of the possible role
     of semantic web technologies in authorization and trust management.
     </t>

  <t>This work is motivated in part by a need for a manageable framework for
     trust and security in grid services, which involves the composition of a 
     service from component parts that are generally under control of
     different administrative domains.
     </t>

  <t>Just a few possible areas of further work are:
     <list style="symbols">
       <t>Automatic contract formation:  automated interaction that may
          determine the terms and conditions for a service, the cost
          and the conditions under which payment will become due.
          </t>
       <t>Extending e-commerce scenarios to include brokerage, where
          one party may act as a sub-contractor, composing a service
          from third party suppliers, handling risk analysis issues
          to deliver a required quality of service.
          This is a significant extension of the online auction scenario 
          in which a service acts as a transaction intermediary.
          </t>
       <t>Develop the VPM scenario to fully define a scanario involving
          delegation of authorization and rtesource allocation decisions 
          across administrative domains.
          </t>
       <t>Dynamic access control configuration: the scenarios described
          here deal only with checking access control against some (presumed)
          static database;  when access control permissions update
          dynamically, some additional mechanisms may need to be considered.
          </t>
       </list>
     </t>

</section>


<!-- xxx 

<section anchor="Section-xxxx" 
         title="xxxx">

  <t>....
     </t>
  <t>....
     </t>

  <t>....
     <list style="hanging">
       <t hangText="xxx">
          yyyy</t>
       <t hangText="xxx">
          yyyy</t>
       <t hangText="xxx">
          yyyy</t>
       </list>
     </t>

  <t>xxx:
     <list style="symbols">
       <t>....
          </t>
       <t>....
          </t>
       <t>....
          </t>
       <t>....
          </t>
       </list>
     </t>

</section>

-->


<!-- Acknowledgements -->

<section title="Acknowledgements">
  <t>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
     <xref target="I-D.atarashi-xmlconf-architecture"/>.
     </t>
  <t>This document has been authored in XML using the format described
     in RFC 2629 <xref target='RFC2629'/>, and converted to HTML using
     the XML2RFC utility developed by Marshall Rose
     (<eref target='http://xml.resource.org/'/>).
     </t>
</section>

</middle>
<!-- End of main document -->

<!-- Appendices -->
<back>

<references>

  <?rfc include="reference.RFC.2629.xml"?>
  <?rfc include="reference.W3C.rdf-syntax.xml"?>
  <?rfc include="reference.W3C.rdf-schema.xml"?>
  <?rfc include="reference.W3C.P3P.xml"?>
  <?rfc include="reference.OASIS.xacml-usecases.xml"?>
  <?rfc include="reference.I-D.atarashi-xmlconf-architecture.xml"?>
  <reference anchor="ref-HomeNetwork" 
             target="http://www.ninebynine.org/SWAD-E/Scenario-HomeNetwork/HomeNetworkConfig.html">
    <front>
      <title>Using RDF for Home Network Configuration</title>
      <author initials="G." surname="Klyne" fullname="Graham Klyne">
        <organization>Nine by Nine</organization>
      </author>
      <date month="December" year="2002"/>
    </front>
  </reference>
  <reference anchor="ref-W3CSwebProposal" 
             target="http://www.w3.org/2000/01/sw/DevelopmentProposal">
    <front>
      <title>Semantic Web Development: Technical Proposal</title>
      <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
        <email>timbl@w3.org</email>
        <organization>W3C/MIT</organization>
      </author>
      <date month="February" year="2001"/>
    </front>
  </reference>
  <reference anchor="ref-W3CSwebActivity" 
             target="http://www.w3.org/2001/12/semweb-fin/w3csw.html">
    <front>
      <title>W3C Semantic Web Activity</title>
      <author initials="M." surname="Koivunen" fullname="Marja-Riitta Koivunen">
        <email>marja@w3.org</email>
        <organization>W3C/MIT</organization>
      </author>
      <author initials="E." surname="Miller" fullname="Eric Miller">
        <email>emiller@w3.org</email>
        <organization>W3C/MIT</organization>
      </author>
      <date month="November" year="2001"/>
    </front>
  </reference>
  <reference anchor="ref-Weaving" 
             target="http://www.cs.caltech.edu/~adam/local/trust.html">
    <front>
      <title>Weaving a Web of Trust</title>
      <author initials="R." surname="Khare" fullname="Rohit Khare">
        <organization></organization>
      </author>
      <author initials="A." surname="Adam" fullname="Adam Rifkin">
        <organization></organization>
      </author>
      <date month="November" year="1997"/>
    </front>
  </reference>

<!--
  <reference anchor="refxxxx" target="xxxx">
    <front>
      <title>xxxx</title>
      <author initials="A." surname="BBBB" fullname="CCCC">
        <organization>DDDD</organization>
      </author>
      <date month="mmmm" year="yyyy"/>
    </front>
    <seriesInfo name="seriesname" value="seriesdocid"/>
  </reference>
-->
</references>

<section title="Revision history">
  <t>
     <list style="hanging">
       <t hangText="2002-12-17:">
          <list style="symbols">
            <t>Document initially created.
               </t>
            <t>Created content scenarios outline.
               </t>
            <t>Added descriptions of access control and home network
               Internet access scenarios.
               </t>
            </list>
          </t>
       <t hangText="2002-12-18:">
          <list style="symbols">
            <t>Added CCLRC copyright notice.
               </t>
            <t>Added description of home control and network management
               scenarios.
               </t>
            </list>
          </t>
       <t hangText="2002-12-22:">
          <list style="symbols">
            <t>Revised content of document following hand-over review 
               with Brian Matthews.
               </t>
            <t>Added scenario for role based access control.
               Suggest use of ontological reasoning for role-based 
               authorization decisions.
               </t>
            <t>
               Added references to W3C web site member access control.
               </t>
            <t>Mention that access control can be more than just 
               access to data.
               </t>
            <t>Say something about the nature of obligations in
               access control.
               </t>
            <t>Add note about access control across administrative domains.
               </t>
            <t>Add note of possible further work to explore contract formation,
               transaction intermediaries and and composed services.
               </t>
            <t>Note the role of brand reputation in establishing trust.
               </t>
            <t>Mention use-case of auction service as transaction intermediary.
               Mention the eBay rating system and guarantee of last resort.
               </t>
            <t>In home control systems, note that the scanarios involve 
               interaction between embedded devices and internet services 
               and data.
               </t>
            <t>Add note about detection of rule conflicts as a topic for
               home security.
               </t>
            <t>Spell-checked content.
               </t>
            </list>
          </t>
       </list>

     </t>
</section>


<section title="Suggested additions to this memo">

  <t>
     <list style="symbols">
       <t>Add diagrams for each of the scenarios.
          </t>
       </list>
     </t>

</section>

</back>
</rfc>
