Opening and Saving Documents on a Local Web Site from a Public Folder

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

When someone clicks on a file link in Internet Explorer, he opens the file from a shared folder on the server so that people who have permission can edit and save the changes. Other people have read-only rights.

If a person clicks a link in a browser other than Internet Explorer, he downloads the file, but does not open it from the shared folder.

Is there a way for other browsers to open the file from the shared folder rather than downloading it?

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

+7
cross-browser intranet
source share
3 answers

In read-only mode, it depends on the browser, i.e. Firefox needs some parameters for processing uri files

 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 he should invite you to download or open the document

Read / write IE is required

+2
source share

I think this has something to do with the type of file contents. Have a look at this answer fooobar.com/questions/45690 / ...

+1
source share

There are extensions for Firefox and Chrome to override this behavior ( LocaLink for Firefox , Locallinks for Chrome ). If you control the installation of intranet software, you can enable these potentially dangerous extensions.

But these are not other browsers; just Firefox and Chrome. So another option (which I saw that used) uses a signed Java applet. The downside is complexity, and the user allows an applet that needs privileged execution. On the plus side, the applet can do anything that is a privileged local client.

+1
source share

All Articles