title: Flash/Javascript upload in spite of same origin policy
body: <p>Can one upload files to a domain other than the domain a script originates from?</p>
  
  <p>For example, suppose you're hosting files on <code>www.example.com</code>, and you want to upload files to <code>uploads.example.com</code>, would the following script violate the same origin policy (using <a href="http://www.uploadify.com" rel="nofollow noreferrer">uploadify</a>):</p>
  
  <pre><code>&lt;!-- from http://www.example.com/upload.html --&gt;
  &lt;input id="fileInput" name="fileInput" type="file" /&gt;
  &lt;script type="text/javascript"&gt;// &lt;![CDATA[
  $(document).ready(function() {
    $('#fileInput').uploadify({
      'uploader'  : 'uploadify.swf',
      'script'    : 'http://upload.example.com/uploadify.php',
      'cancelImg' : 'cancel.png',
      'auto'      : true,
      'folder'    : '/uploads'
    });
  });
  // ]]&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I haven't seen a clear reference on the same origin policy that would indicate one-way or the other whether the this would be an issue with any browsers.</p>