Solved

MacOSX browsers cannot open a link

Posted on 2012-03-19
8
64 Views
Last Modified: 2016-06-07
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.
0
Comment
Question by:SYanG79
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
8 Comments
 
LVL 7

Assisted Solution

by:micropc1
micropc1 earned 250 total points
ID: 37739849
I believe macs need to use the samba protocol to access windows file shares, so the path would look like smb://Volume/Share/FileX.pdf. The easiest fix would be to map the share to a virtual directory on your website, then access it through the site URL.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 37740213
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.
0
 

Author Comment

by:SYanG79
ID: 37743833
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?
0
Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

 

Author Comment

by:SYanG79
ID: 37744092
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
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 37744332
PDFs would have to be downloaded at least to your 'temp' directory to be opened in a browser.  You can not use a browser for editable content.  You need to use Samba (smb:) or File Sharing for those things.
0
 

Author Comment

by:SYanG79
ID: 37753802
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.
0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Syslogd is a utility that traps and logs messages sent by running processes. It is configured with the syslog.conf file, which consists of lines containing a pair of fields: "the selector field which specifies the types of messages and priorities to…
Information security is a multi-billion dollar industry. Just as lucrative is the black market industry which trades stolen identities, credit card numbers and software exploits all over the world. Nothing is hack-proof. The best one can do is make …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question