Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open local files(file://) using Chrome

I have an page with some forms. All the links work fine in IE. They open in a new tab nicely when the hyperlink is click by the user; however, I realized that when Chrome is use the link doesn't open. I keep clicking but nothing opens. The only way of opening the file is copying the hyperlink, opening a new tab in Chrome, paste and go.

<a href="FILE:\\outsideserver\files\shared\form1.pdf" target="_blank">Form1</a>

Is this something that browser do? Because I tried it with FireFox and doesn't work either? It there a way of going around? without installing anything in the browser? Because my user loves Chrome. Thank you in advanced for the responses.

like image 579
sergio089 Avatar asked Feb 25 '15 16:02

sergio089


1 Answers

You can't access to files outside your server or "SandBox", sandbox include the files that user push to the browser or to your server.

If the access from browser to a pc files from web pages was possible, it would be a security problem.

like image 191
ppascualv Avatar answered Oct 29 '22 04:10

ppascualv