title: 403 forbidden error on upload file to server
body: <p>How to upload file to an external server using HTML5?</p>
  
  <p>Im using the below code for uploading the file.</p>
  
  <pre><code>var fd = new FormData();
          fd.append("fileToUpload", document.getElementById('fileToUpload').files[0]);
          var xhr = new XMLHttpRequest();
          xhr.upload.addEventListener("progress", uploadProgress, false);
          xhr.addEventListener("load", uploadComplete, false);
          xhr.addEventListener("error", uploadFailed, false);
          xhr.addEventListener("abort", uploadCanceled, false);
          xhr.open("POST", "http://anotherdomain/Upload.aspx");
          xhr.send(fd);
  </code></pre>
  
  <p>I'm getting error 403(forbidden) in fiddler.</p>
  
  <p>Can anyone provide some insight on this?</p>