HTML links to local network shares [duplicate]

巧了我就是萌 提交于 2019-11-29 05:45:50
Peter

In general, this is disabled because it is a security risk. See also this question: Cross-browser link to file on local system, and the link provided by sleske to here.

This is an oldie, but goodie -- still comes up quite often.

There are extensions for both browsers (FireFox & Chrome) that can allow you to access local links:

Chrome - Locallink

Firefox - LocalLink

Peter's got the answer, but FYI you should find something like the following in FF's Error Console (available from the Tools menu):

Security Error: Content at http://localhost/temp/a.html may not load or link to file:///C:/Documents%20and%20Settings/zzzzzzzz/My%20Documents/www/temp/box.html.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!