title: Not allowed to load local resource, embedded pdf in object
body: <p>I need to open pdf in my web page, the problem is that I get the files from another server so I tried to use <code>&lt;object&gt;</code> element with url to the PDF file, but it didn't work. So instead at first I download the pdf file to my server and then I tried to use </p>
  
  <pre><code>&lt;object alt="pdf" border="0" data="d:/WEB/ASP/soubory/Download/189005864.pdf" 
          type="application/pdf" width="100%" height="100%"&gt;&lt;/object&gt;
  </code></pre>
  
  <p>But I am getting error. In chrome it says </p>
  
  <blockquote>
    <p>Not allowed to load local resource</p>
  </blockquote>
  
  <p>and in IE </p>
  
  <blockquote>
    <p>Access denied</p>
  </blockquote>
  
  <p>So I checked if the files I download are somehow restricted, but they arent and even if I rightclick on the link in my source code and select the "Open in new tab" option the browser poperly opens the pdf in new tab. So any ideas what may be wrong?</p>
  
  <p>Thanks</p>