Title: Access Control for Cross-site Requests
Access Control for Cross-site Requests
We want cross-site requests for XBL, XSLT, HTML 5
<event-source>,XMLHttpRequest, and probably more…The
GETSolution
- Check
Acces-ControlHTTP header- Check
<?access-control?>PI if XML- Deny or allow access to the contents
Cross-site requests for XBL, XSLT, and
<event-source>solved.The Non-
GET(POST,DELETE, …) Solution
- Check authentication request cache
- If no entry in the cache make an authentication request
- If all is good make the desired request
- Apply "The
GETSolution" to the responseAuthentication request
- Set
Method-CheckHTTP request header- Make a
GETrequest- Apply "The
GETSolution" to the response- …
Authentication request (continued)
- Check the
AllowHTTP response header- Make an authentication request cache entry using the
Method-Check-ExpiresHTTP response header if all is goodCross-site requests for
XMLHttpRequest, and earlier mentioned technologies solved.
http://www.w3.org/TR/access-control/is not up to date.Questions?
