Solved

MacOSX browsers cannot open a link

Posted on 2012-03-19
8
62 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Time machine backup 4 38
how to transfer/backup everything from iphone to my macbook itune? 7 33
facebook change 4 69
iCloud for Desktop 3 29
This article describes in detail how to set up the iPad in the Enterprise using iPCU aka iPhone Configuration Utility.  This could also be used for the iPhone although I have not detailed out any differences. Preparation as an iPad Administrator:…
Set up iPhone and iPad email signatures to always send in high-quality HTML with this step-by step guide.
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 …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

756 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