title: Open a file in the browser from Silverlight
body: <p>I have a Button (or a hyperlinkbutton) in Silverlight. I want to open a file on a server share when this butto in clicked. With other words I want a new Browser Tab or Window to open showing the requested file, just like I enter the URL in the browsers addressbar: </p>
  
  <pre><code>file://C:\myfile.txt
  </code></pre>
  
  <p>I tried in the OnClick Method the following:</p>
  
  <pre><code>System.Windows.Browser.HtmlPage.Window.Navigate(new Uri(@"file://C:\myfile.txt"),"_blank");
  </code></pre>
  
  <p>it throws an Exception (Access denied).
  When I do the same with an http: page it works:</p>
  
  <pre><code>System.Windows.Browser.HtmlPage.Window.Navigate(new Uri(@"http://www.somedomain.com"),"_blank");
  </code></pre>
  
  <p>How can I achive the same with a file. Security can not be an issue, I have full access to that file. And please don't tell me that this is not possible... would mean we have to go back to PHP.</p>