How to give local access to Intranet site in Сhrome?

How to give local access to Intranet site in chrome

  • I am currently developing an Intranet web application. I want the application to access local files in the user's computer or the domain files (hence Intranet). I managed to give local file access (href for <img> and <a> ) in Firefox in user.js, the problem is with chrome. How to do it ??

  • Answer:

    Your question isn't clear - not sure if you're trying to access resource files (such as .css files) or documents like Word processing files or similar. I'm going to assume documents and directories. The issue is, you can't open directories via Windows Explorer, it's as simple as that as it's a security risk. However, you can open directories in the browser. This works for Chrome, Firefox and IE <a href="file://C:\Users\me\Documents\">Open directory</a> <a href="file://C:\Users\me\Documents\1_011014_135535239_.csv">Open file</a> If you're still blocked, then you need to give permission by the folder to the relevant groups (or by everyone if safe to do so).

Ayman at Super User Visit the source

Was this solution helpful to you?

Other answers

Share the directory you want to use and then access it using: <a href="http://pcname/share/path/file.ext">Description of file</a> Browsers tend to see "file://" as a security risk and block it. Besides, by using this method, people in your network will be able to access the file.

LPChip

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.