<?xml-stylesheet href="slides.css" type="text/css"?><!DOCTYPE Slide>


<Slide xmlns:html="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink">

  <html:div style="background: black none repeat scroll 0%;" align="center">
  <html:img src="images/mozilla-banner.gif" width="600" height="58" id="logo"/>
  </html:div>

  <SlideBody>
    <Heading>
    Security Policies: Same-Origin Exemptions
    </Heading>

    <List>
      <ListItem>Exempt Properties - always accessible regardless of origin
      <SourceCode>
      Set Location (but not location.host, etc.)
      History.go(), History.back(), etc.
      Document.write()
      Window and frame objects
      </SourceCode>
      </ListItem>
      <ListItem>document.domain - allows mutually trusting pages on different hosts
      in a common domain (such as netscape.com) to access each other's content.
      <html:p/>
      document.domain = "mcom.com"; (OK)<html:br/>
      document.domain = "microsoft.com";   (this will fail)
      </ListItem>
      <ListItem> Script-defined global variables and functions are NOT exempt.</ListItem>
    </List>
   
    
  </SlideBody>

  <Bar>
    <LeftSide>
    <TitleInBar>5/25</TitleInBar>
    </LeftSide>
    <RightSide>
    <html:form>
<html:input type="button" id="magic" value="Prev" onclick="Prev(document);"/>
<html:input type="button" id="magic" value="Next" onclick="Next(document);"/>
    </html:form>
    </RightSide>
  </Bar>
  <html:script src="slides.js"/>

</Slide>
<!-- vim: set sw=2 ts=2: -->