Using file:/// protocol to open a local folder

Hi,

I have embedded a link on an intranet webpage in the form file:///pathto_serverfolder . The required server volume is mounted automatically at login so no further afp authentication is required.

The link works when I open the html file locally in Safari from my desktop. However, if I serve the file through apache (either on our intranet server or through localhost on my desktop) the link does not work... no error message, just nothing.

Interestingly, file:///pathto_serverfolder does work if I copy&paste the url into Safari's address window. 'Open link in a new window' also works but opens an additional blank window which is not ideal.

Any idea why this may not be working as I need?

Many thanks,

b.

Posted on Oct 18, 2005 5:35 AM

Reply
2 replies

Oct 24, 2005 12:22 PM in response to buckster

To my understanding Safari versions 1.3 and above, no longer allows you to access files locally when viewing html pages remotely. I called Apple Tech Support today (10/24/05) and they have confirmed this. Due to security issues a lot of web browsers are limiting access to local files when viewing html pages remotely.

If you want the ability to access local files when viewing html pages remotely, you may want try to use Mozilla Firefox 1.5 or above. Mozilla Firefox gives the end user the ability to choose certain domains to bypass the checkloaduri restriction.

http://kb.mozillazine.org/Linksto_local_pages_don%27twork

Thanks,
Ray

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Using file:/// protocol to open a local folder

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.