Link to home
Start Free TrialLog in
Avatar of SYanG79
SYanG79Flag for Canada

asked on

MacOSX browsers cannot open a link

Hi,

  We have posted some links in our intranet website. The links look like this..
file://///Volumes/ShareX/FileX.pdf .

Neither Safari nor Firefox are able to open the files. But if I right-click and copy the link target and then paste it in the address bar, it works!


Do you have any ideas why it doesn't work with a mouse click inside the browser?

Thanks,

P.S : Has been tested in MacOSX 10.6.7 and 10.4.11, Safari 5.0.4 (6533.20.27), and 4.1.3 (4533.19.4), Firefox 11.
SOLUTION
Avatar of Chris Ashcraft
Chris Ashcraft
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
Firefox will not open a 'file://' link in a page loaded with 'http://'.  I don't believe Safari, Chrome, or IE9 will either.  This a security restriction to keep web sites from opening files on your computer.  Several other people have asked this same question in the past week.
Avatar of SYanG79

ASKER

I found out that Google Chrome could be opened by disabling the security restriction so I worked around this.

I tried to open it in a terminal with differents arguments without any success..
"open /Google\ Chrome.app --args ----allow-file-access-from-files"
"open /Google\ Chrome.app --args --disable-web-security"

Then I checked the extensions availables for Google Chrome and found "Locallinks". I installed it and it works great! But I am not certain what kind of security holes it causes...

Anyone knows?
Avatar of SYanG79

ASKER

Hi,

  I have another problem to open my pdf file. I am able to open it with Acrobat with the extension Locallinks as explained above but this is not the original file that is opened.

I would like to be able to modify a pdf file that is located on a network drive. But it seems that the extension downloads the file. If I do some adding to the file, they are done in /Downloads/File.pdf
ASKER CERTIFIED 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
Avatar of SYanG79

ASKER

Hi Dave,

  You are right. The pdf files that I open from the link file:// come from my folder /Downloads/ .

To save them back to the original place I am going to use a trusted function in Acrobat.