title: Not allowed to load local resource: file:// using iframe in MVC
body: <p>i am working in MVC and i am trying to preview a pdf from web-server but it is showing error as :    </p>
  
  <p>Not allowed to load local resource: file://web-server/images/1324/Sample%20Document.pdf</p>
  
  <pre><code>&lt;iframe src="@Model.urlpath" width="650" height="350" style="border: 1px solid #ccc; margin:10px 5px !important;"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>i am trying to get this url path from web server to local application </p>