Solved

Unable to open local files and directories through embedded web links.

Posted on 2012-03-16
3
785 Views
Last Modified: 2013-11-19
We recently started having issues with links on an internal web page which points to shared directories and files (Word, Excel, etc.) on our LAN.  When we click on any of these links, nothing happens.  Note: If you manually type the link in the browser address bar, then it will bring up the directory or load the file but it will not work by clicking on the link.  All of these links use to work. We currently have both Windows XP and Windows 7 running on various workstations in our office.  This issue occurs on both platforms. I also tested these links with Internet Explorer 9, FireFox 10, and Google Chrome 17 and the results were the same.  Our network infrastructure consists of ISA 2008 for our firewall and proxy server, Windows 2003 for our domain controller, DHCP and DNS server.  The local Intranet site is also running on a Window 2003 with IIS Manager.  
Can somebody give me some guidance on what I need to do to resolve this issue?

Thank you.

This is the source code for the page that contains the links.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Common Drive</title>
<link href="../CSS/InternalDevStyle.css" rel="stylesheet" type="text/css" />
</head>

<body class="InternalDev">
<p>&nbsp;</p>
<p>&nbsp;</p>
<table width = "100%" border = "10">
  <tr>
    <td align="center" width = "99%" colspan="3">What's This????<a href="sWhat.html"><br />
      <img border="0" src="../Images/whats.gif" width="90" height="67" /></a></td>
  </tr>
  <tr>
    <td align="center" width = "33%"> PTAB<br />
      Staff<br /><img src="../Images/staff.gif" alt="Publish documents to or share documents with other PTAB staff members" width="64" height="64" /></td>
    <td align="center" width = "33%"> Internal<br />
      Forms<br />
      <a href="file:///Q|/INTERNAL FORMS/"> <img src="../Images/forms.gif" alt="Access Internal Forms" width="64" height="64" /></a></td>
    <td align="center" width = "33%"> Internal<br />
      Publications<br />
      <a href="file:\\fee\spcommon$\&quot;INTERNAL PUBLICATIONS&quot;\"> <img src="../Images/IntPub.gif" alt="Access Internal Publications:  Net Pay, Time Sheet, Absence/Leave Request, Travel Voucher" width="64" height="64" /></a></td>
  </tr>
  <tr>
    <td align="center" width = "33%"> Clerical<br />
      Staff<br />
      <a href="File:///q:\clerical"> <img src="../Images/clerical1.gif" alt="PTAB Clerical staff members publish/share documents with other PTAB Clerical staff members" width="64" height="64" border="0" /></a></td>
    <td align="center" width = "33%"> Hearing<br />
      Officers<br />
      <a href="file:///Q|/HEARING OFFICERS/"><img src="../Images/hearing1.gif" alt="PTAB Hearing Officers publish/share documents with other PTAB Hearing Officers" width="64" height="64" /></a></td>
    <td align="center" width = "33%"> Human<br />
      Resources<br />
      <a href="file:///Q|/HUMAN RESOURCES/"> <img src="../Images/HumanResources.gif" alt="PTAB Human Resources staff members publish/share documents with other PTAB Human Resources staff members" width="64" height="64" /></a></td>
  </tr>
  <tr>
    <td align="center" width = "33%"><br />
      Fiscal<br />
      <a href="file:///Q|/FISCAL/"><img src="../Images/Fiscal.gif" alt="PTAB Fiscal staff members publish/share documents with other PTAB Fiscal staff member" width="64" height="64" /></a></td>
    <td align="center" width = "33%"><br />
      Executive<br />
      <a href="file:///Q|/"> <img src="../Images/Executive.gif" alt="PTAB Executive staff members publish/share documents with other PTAB Executive staff members" width="64" height="64" /></a></td>
    <td align="center" width = "33%"> Information<br />
      Services<br />
      <a href="file:///Q|/INFORMATION SERVICES/"><img src="../Images/IS.gif" alt="PTAB Information Services staff members publish/share documents with other Information Services staff members" width="64" height="64" /></a></td>
  </tr>
</table>
</body>
</html>
0
Comment
Question by:srulison
3 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 37732140
In Firefox, any page that is loaded with 'http' is not allowed to access a page linked with 'file'.  That has been their policy for years.  I don't have IE9 but I believe that Chrome and Safari have the same security policy.  It is to prevent web sites from accessing your local file system.
0
 
LVL 51

Assisted Solution

by:ahoffmann
ahoffmann earned 250 total points
ID: 37732353
> href="file:///Q|/HEARING OFFICERS/
the syntax is different for FF and IE
as DaveBaldwin explained, FF does not allow to access file: when the page is loaded with http: (or i.g.: access must be the same schema and the same FQDN), this is part of the same origin policy, same applies to Chrome
however, in FF you can tweak the configuration to allow such access
    netscape.security.PrivilegeManager.enablePrivilege('UniversalPreferencesRead');
    netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');

(not sure if FF > 4 still allows this at it is a security issue)
0
 

Author Comment

by:srulison
ID: 37737244
Thank you both for responding to my posts.  I apologies for taking so long to respond.  I was pulled away on something else this weekend and I was just now finally able to get back to this.  If I'm hearing you both correctly, most, if not all, of the web browsers no longer permit accessing local drives through a web page.  FireFox may be able to be tweaked to get around this security setting but IE cannot. While I have FireFox and Chrome installed on my PC, most of the staff in our office just has the latest version of IE.  So really if there is no way to modify the html document or the IE settings to allow this on IE 9, then we will have to find a different way to distribute these documents.  

I understand why they changed the browsers application to no longer allow this but it was a really nice way to present, organize and publish documents and forms for our staff.   I suppose we could place these documents up on an ftp server.  

I'll leave this question open for a day longer and if no other solution is proposed, I will accept the answers provided. Thank you again for your help.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

726 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