title: chrome : unable to read local files by using `-allow-file-access-from-files `
body: <h2>Introduction</h2>
  
  <p>Honestry,I'm not native English user,so my English is not better.
  If you have any question, ask me by comment.</p>
  
  <h3>what I wanna do</h3>
  
  <p>As a premise,when you try to access local files by web site link,IE or FireFox can access( by simple setting) ,but Chrome can't access for their security poricy.</p>
  
  <p>I found the ways to do this, like below:</p>
  
  <ol>
  <li>add <code>--allow-file-access-from-files</code> option when you execute chrome.exe</li>
  <li>build a local server like nginx or Apache HTTP Server,which meditate to access local data</li>
  <li>Use chrome extention<a href="https://chrome.google.com/webstore/detail/enable-local-file-links/nikfmfgobenbhmocjaaboihbeocackld?hl=ja" rel="nofollow noreferrer">Enable local file links</a></li>
  </ol>
  
  <p>Due to business restrictions,I should resolve this problem by method 1. but I can't enable loacl data link though I set option correctly.</p>
  
  <p>I googled why I can't,but I couldn't find why it won't work.
  (In the first place,I can't even find Google official description of <code>--allow-file-access-from-files</code>.How predecessors find that method ... )
  While searching、I found person who have the same question、<a href="https://support.google.com/chrome/thread/10926460?hl=en" rel="nofollow noreferrer">Google Forum</a>.
  I'm convinced that this is not my simple miss,but more deep problem,so I decided to make this question.</p>
  
  <h3>what I tried</h3>
  
  <ul>
  <li><p>I rebooted computer,killed all process related to chrome,then change directory where contains chrome executable file,and execute <code>chrome.exe --allow-file-access-from-files</code></p></li>
  <li><p>I rebooted computer,killed all process related to chrome 、create shortcut on my Desktop ,which destination is <code>"/path/to/chrome/chrome.exe"--allow-file-access-from-files</code></p>
  
  <p>After execute chrome,I checked chrome boot option to access<code>chrome://version/</code>.Both method, I could boot chrome by add <code>--allow-file-access-from-files</code> option,but can't achieve first purpose to access local file access.</p></li>
  </ul>
  
  <h3>what I wanna know</h3>
  
  <ul>
  <li>lacking or similar to <code>--allow-file-access-from-files</code>option、
  (solution similar to method 2 or method 3,like "Give up option solution,and use nginx as local server" is unnecessary)</li>
  <li>or other solution </li>
  </ul>
  
  <p>Additionary,if you know below info,please teach me.
  - Google official documentation which descriptions<code>allow-file-access-from-files</code>
    ( Indended to Oracle official Javadoc of Java.)</p>
  
  <h3>Using Tool</h3>
  
  <p>Chrome Version : 78.0.3904.87<br>
   OS     : WIndows 7 SP1 </p>