cross-browserintranet

Open and save documents on local intranet site from shared folder


I have an intranet site where we host files and forms.

When someone clicks on a link to a file on Internet Explorer it opens the file from a shared folder on the server so people who have permission can edit it and save changes. Other people have read only permissions.

If a person clicks on the link in a browser other than Internet Explorer it downloads the file instead of opening it from the shared folder.

Is there a way to have other browsers open the file from the shared folder instead of downloading it?

NOTE: I should clarify that in IE I use the file:// protocol and in other browsers I use http:// because file:// does not work.


Solution

  • For read only mode it depends on the browser i.e. Firefox needs some parameters for file uri processing

    user_pref("capability.policy.policynames", "localfilelinks");
    user_pref("capability.policy.localfilelinks.sites", "http://yourServer1.companyname.com http://yourServer2.companyname.com");
    user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
    

    then it should invite you to download or open the document

    For read/write access IE is mandatory