title: File URL "Not allowed to load local resource" in the Internet Browser
body: <p>I've got a major brainteaser.</p>
  
  <p>I want to open a file in classic ASP. I'm using various variables because things can change but the outcome is correct. I know this because I've tested the outcome by copying the linkadress and placing it in my URL. Now the problem: If I click my link it doesn't do anything. Not a refresh, not a redirect. nothing. Does anyone know what I did wrong?</p>
  
  <p>Ok here's the deal. My file isn't always local, it depends on what environment I'm on. If I copy-paste the outcome of my url it does download. If I click my URL it doesn't respond. Any ideas? Browser problem? (although I've tested 5 browsers) Or anything else? I'm really stuck here and the internet does not seem to be on my side.</p>
  
  <p>I've got 3 environments. The variables underneath here are so that the link works. I know the link works because I've tested it by copying. And yes, it does begin with <code>file:///</code> and yes I'm sure the link is right.</p>
  
  <p>Here's my line of code:</p>
  
  <pre><code>response.write("&lt;td class='tab_kolom2'&gt;&lt;a href='"&amp;rootRs("pre_rootpad")&amp;rootRs("rootpad_protocollen")&amp;"\"&amp;overzichtRs("Formuliernr")&amp;"\Uitvoeringsoverzicht.xls' target='_blank' download&gt;Click here&lt;/a&gt;&lt;/td&gt;")
  </code></pre>
  
  <hr>
  
  <p>EDIT: Screenshot with error/outcome of link</p>
  
  <p><a href="https://i.stack.imgur.com/lU5DV.png" rel="noreferrer"><img src="https://i.stack.imgur.com/lU5DV.png" alt="error"></a></p>