I've checked the following two related discussions:
1. How do I make a hyperlink to a local executable?
2. An URL to a Windows shared folder
3. File Url Cross Domain Issue in Chrome- Unexpected
4. Firefox Links to local or network pages do not work
The following links work when I visited the website on localhost. That is, http://localhost
.
<a href="\\172.21.1.123\DIR">A Shared Network Directory</a>
<a href="file://172.21.1.123\DIR">A Shared Network Directory</a>
<a href="file://///172.21.1.123\DIR">A Shared Network Directory</a>
But when I visited with http://172.21.1.123
, all of above links have no response.
The debug console shows that Not allowed to load local resource: file://172.21.1.123/DIR
.
Test Environment (Both of them have the same result.):
- Chrome 28.0.1500
- IE 10
If it is due to the security reason, any configuration to turn off? Or any idea?