Link to home
Start Free TrialLog in
Avatar of Bardobrave
BardobraveFlag for Spain

asked on

Firefox access to network drives

Hi all.

I'm struggling with an issue that I'm unable to find a solution for.

In a web app for an intranet, I allow users to store files on a network drive, those files can be accessed through a direct link to the file on it's stored location.

The problem is that, although IE allows the links to be accessed adding the site to trusted sites, Firefox avoid the activation of such links.

I've googled for a while looking for a solution, as I think that this is a common issue on controlled environments where it should be configurable somehow.

However, all the info I've found so far didn't work on my site, links to files sill are unactive on Firefox.

I've tried to change those policies on Firefox:
network.automatic-ntlm-auth.trusted-uris; --> added websiteServerAddress
network.negotiate-auth.trusted-uris; --> added websiteServerAddress
security.fileuri.strict_origin_policy; --> false

I've created those policies:
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", "websiteServerAddress");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");

I've also tried to build the links this way: "file://///sharedDrive/restOfPath"
As file:///// is suposed to stablish localhost as a bridge for file accessing and allow the access. In fact, when I copy the link with the five slashes from the webpage to a new tab's url bar the file opens, but if I try to click the link it remains dead.

I supose I must be missing something here, but I'm sure I'm not the first one with this problem and there must be a solution for it.

Any suggestions welcome (however, save yourself those based on: "Implement WebDav", as I'm already aware of it and considering the posibility, but need something to fix things in the meanwhile).

Also solutions/fixes for Chrome will be welcomed.
Thank you.
Avatar of Rob
Rob
Flag of Australia image

I've had similar issues on my intranet.  the way i got around it was to add another site in my IIS and have virtual directories underneath it pointing to the relevant mapped drivers or server shares.
At least this way if the drives change you only need to update the one spot...
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bardobrave

ASKER

I hate this kind of things...

I've just found that on the real development server all is working ok (I was testing on vs2010 virtual server). Then I tried to revert one by one the modifications I did to detect wich one solved the problem and found that now it works without anyone of them... kinda crazy...
I never would have found that because I don't have a virtual anything.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Finally problem on development server was fixed following steps on the original article where all started.

Sorry for being so late in closing this.