title: Dojo reading a json file from a local filesystem using dojo.xhrGet
body: <p>I'm trying to read a file from a local filesystem. I do not have a server at my disposal and thus i'm trying to do it this way. Here is what I got so far;</p>
  
  <pre><code>function init(){
      netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserWrite');
      dojo.xhrGet( 
      { 
          url: "/json/coursedata.json",
          handleAs:"json",
          load: function (type, data, evt) {alert (data) }, 
          //mimetype: "text/plain" 
      });
  }
  </code></pre>
  
  <p>I'm getting this error from the firebug console;</p>
  
  <pre><code>Access to restricted URI denied"  code: "1012
  http://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/dojo.xd.js
  Line 16
  </code></pre>