<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE spec PUBLIC "-//W3C//DTD Specification V2.1//EN"
               "../xmlspec.dtd" [
	<!-- ================================================================ -->
	<!ENTITY draft.day "08">
	<!ENTITY draft.month "01">
	<!ENTITY draft.monthname "January">
	<!ENTITY draft.year "2009">
	<!ENTITY iso6.doc.date "&draft.year;-&draft.month;-&draft.day;">
	<!ENTITY basename "TBD">
	<!ENTITY draftname "&basename;-&draft.year;&draft.month;&draft.day;">
]>
<spec w3c-doctype="other">
	<?CVS $Id$?>
	<header>
		<title>[Editorial Draft] Access Control for Cross-site Requests Requirements</title>
		<w3c-designation>&basename;-&iso6.doc.date;</w3c-designation>
		<w3c-doctype>Editors Draft</w3c-doctype>
		<pubdate>
			<day>&draft.day;</day>
			<month>&draft.monthname;</month>
			<year>&draft.year;</year>
		</pubdate>
		<publoc>
			<loc href="&draftname;.html">&draftname;.html</loc>  ( <loc href="&draftname;.xml">xml</loc> )
		</publoc>
		<latestloc>
			<loc href="TBD">TBD</loc>
		</latestloc>
		<prevlocs>
			 Unapproved Editors Drafts:

		</prevlocs>
		<authlist>
			<author>
				<name>David Orchard</name>
				<affiliation>BEA Systems, Inc.</affiliation>
				<email href="mailto:David.Orchard@BEA.com">David.Orchard@BEA.com</email>
			</author>

		</authlist>
		<copyright>
			<p>
				<loc href="http://www.w3.org/Consortium/Legal/ipr-notice-20000612#Copyright">Copyright</loc> &#xA9; 2003
<loc href="http://www.w3.org/">W3C</loc>
				<sup>&#xAE;</sup>
(<loc href="http://www.lcs.mit.edu/">MIT</loc>,
<loc href="http://www.inria.fr/">INRIA</loc>,
<loc href="http://www.keio.ac.jp/">Keio</loc>),
All Rights Reserved. W3C
<loc href="http://www.w3.org/Consortium/Legal/ipr-notice-20000612#Legal_Disclaimer">liability</loc>,
<loc href="http://www.w3.org/Consortium/Legal/ipr-notice-20000612#W3C_Trademarks">trademark</loc>,
<loc href="http://www.w3.org/Consortium/Legal/copyright-documents-19990405">document use</loc>, and
<loc href="http://www.w3.org/Consortium/Legal/copyright-software-19980720">software licensing</loc>
rules apply.
</p>
		</copyright>
		<abstract>
			<p>This document provides goals, requirements and Use Cases for Access Control for Cross-site requests.</p>
		</abstract>
		<status>
			<p>This document has been developed for discussion by the
Web Application Formats Working Group. It does
not yet represent the consensus opinion of the Working Group.</p>

  <p>Please send comments to the WAF Working Group's public mailing list <loc
   href="mailto:public-appformats@w3.org">public-appformats@w3.org</loc> with
   access-control] at the start of the subject line. <loc
   href="http://lists.w3.org/Archives/Public/public-appformats/">Archives</loc>
   of this list are available. See also <loc href="http://www.w3.org/Mail/">W3C
   mailing list and archive usage guidelines</loc>.</p>
   
  <p>This document was produced by a group operating under the <loc
   href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February
   2004 W3C Patent Policy</loc>. W3C maintains a <loc
   href="http://www.w3.org/2004/01/pp-impl/38483/status">public list of any patent disclosures</loc> made in
   connection with the deliverables of the group; that page also includes
   instructions for disclosing a patent. An individual who has actual
   knowledge of a patent which the individual believes contains <loc
   href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential
   Claim(s)</loc> must disclose the information in accordance with <loc
   href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section
   6 of the W3C Patent Policy</loc>.</p>

			<p>Publication of this document does not imply endorsement by the W3C
Membership. This is a draft document and may be updated, replaced or
obsoleted by other documents at any time.</p>
			<p>Please send comments on this finding to the publicly archived TAG
mailing list <loc href="mailto:www-tag@w3.org">www-tag@w3.org</loc>
(<loc href="http://lists.w3.org/Archives/Public/www-tag/">archive</loc>).</p>
		</status>

		<sourcedesc>
			<p>Created in electronic form.</p>
		</sourcedesc>
		<langusage>
			<language id="EN">English</language>
		</langusage>
		<revisiondesc>
			<slist>
				<sitem>2008-01-08: Published draft</sitem>
			</slist>
		</revisiondesc>
	</header>
	<body>
		<div1 id="goals">
			<head>Goals</head>
			<p>A goal of the Web Applications Format Working Group is to produce a mechanism that enables the specification of access control for cross-site requests. </p>
			</div1>
			<div1 id="usagescenarios">
<head>Usage Scenarios</head>
</div1>
<div1 id="requirements">
<head>Requirements</head>
<div2 id="terminology">
<head>Terminology</head>
<p>The terms MUST, SHOULD and MAY are used in the RFC 2119 sense.</p>
</div2>

<div2>
<head>Control in hands of server</head>
<p>AC4CSR MUST leave the control in the hand of the server.  Ednote: I have no idea what this means</p>
</div2>
<div2>
<head>No server software changes</head>
<p>AC4CSR MUST be implemented without changing the actual server software</p>
</div2>
<div2>
<head>Use of GET without any Scripting</head>

<p>AC4CSR MUST use GET to provide files for cross-domain access without 
   scripting of any kind of the server side.</p>
   <p>Ednote: this seems like a design rather than a requirement.  I think the real requirement is an HTTP method that works with most/all server software and the problem with non-GET is apache.</p>
</div2>
<div2>
<head>Configurable on per-resource basis</head>
<p>AC4CSR MUST be configurable on a per-resource basis</p>
</div2>
<div2>
<head>Configurable without main site admin intervention</head>
<p>AC4CSR MUST be configurable without coordination with the main site administrator
</p>
</div2>
<div2>
<head>No new XSS attacks when user changes client</head>
<p>AC4CSR MUST introduce no new XSS attack vectors when a user changes client, 
   assuming the client is conforming to the new spec</p>
</div2>
<div2>
<head>No new XSS attacks when author changes server</head>
<p>AC4CSR MUST introduce no new XSS attack vectors when an author changes server,
   assuming the server is conforming to the new spec</p>
</div2>
<div2>
<head>No access granted because of caching.</head>
<p>AC4SR MUST not introduce the risk of caches inadvertently allowing access 
   when it should not be allowed.</p></div2>
</div1>
			
		<div1 id="ack">
			<head>Acknowledgements</head>
			<p></p>
		</div1>
	</body>
	<back>
	<inform-div1 id="changelog">
			<head>Change Log</head>
			<table border="1">
				<caption>Changes</caption>
				<thead>
					<tr>
						<th>Who</th>
						<th>When</th>
						<th>What</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>DBO</td>
						<td>20080108</td>
						<td>Initial revision.</td>
					</tr>
				</tbody>
			</table>
		</inform-div1>
	</back>
</spec>
