Open local folder from different browsers

寵の児 提交于 2019-12-13 03:59:24

问题


I'm developing an intranet (written in c#) and I need to access some local folders (stored in an internal server) using local links.

I actually tried to use "\server-name\folder-name$" as link and it works fine on Internet Explorer. If used on Chrome though, nothing happens; worse on Firefox, where I get the 404 error message.

I also tried to change the link (as seen in many posts here) in "file://server-name/folder-name$" or "file://///server-name/folder-name$", always working on IE, but nothing's happening on Firefox and Chrome.

I'm looking for a simple solution that would work for at least these 3 browsers, if possible..

I tried to follow some workarounds, especially HERE but it's not what I'm looking for. I'd rather not installing extensions nor edit some particular settings (don't know why the process for Firefox didn't work), if possible!

any suggestions would be greatly appreciated!


回答1:


I'm pretty sure that the only browser that allows local links is Internet Explorer.

It's been removed from other browsers because of the security holes it provides. Here's a relevant SO post about this.

With that being said, I think some extensions change Google Chrome to allow this. I don't know of any that do this for Firefox.

EDIT: It's possible on Firefox.

This may not be that helpful though, since you're developing the intranet and presumably won't be the only one using it.



来源:https://stackoverflow.com/questions/25408031/open-local-folder-from-different-browsers

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