473,748 Members | 2,515 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

<a href="file://C:\temp" target="_blank" >C:\temp</a> does not work in IE anymore !

Hi,
in our webpage, a user could open a windows explorer to his temp
directory with a simple link and usage of the file protocol:
<a href="file://C:\temp" target="_blank" >C:\temp</a>

This worked very well a long time, but now it does not work anymore.

We use IE6 and Microsoft Windows XP Professional 2002 SP2.

I guess it has something to do with new IE security features. Does
anybody know a workaround or how we can disable this IE behaviour.

Thanks
Dieter
Jul 23 '05 #1
10 60716
Dieter Salath? said the following on 11/22/04 13:51:
in our webpage, a user could open a windows explorer to his temp
directory with a simple link and usage of the file protocol:
<a href="file://C:\temp" target="_blank" >C:\temp</a>
I think it should be three slashes instead of two:

<a href="file:///c:\temp" ...

... but since I don't have a M$ system anymore I can't verify that.
This worked very well a long time, but now it does not work anymore.

We use IE6 and Microsoft Windows XP Professional 2002 SP2.
I guess it doesn't work since you installed SP2, correct? It introduces
numerous problems, but I don't know the work around for it (other then
uninstalling SP2 if that's possible at all).
I guess it has something to do with new IE security features. Does
anybody know a workaround or how we can disable this IE behaviour.


You could try to change the zones for IE, but that's way out of my league.

--
Regards
Harrie
Jul 23 '05 #2

"Dieter Salath?" <sa*****@freesu rf.ch> wrote in message
news:69******** *************** **@posting.goog le.com...
Hi,
in our webpage, a user could open a windows explorer to his temp
directory with a simple link and usage of the file protocol:
<a href="file://C:\temp" target="_blank" >C:\temp</a>

This worked very well a long time, but now it does not work anymore.

We use IE6 and Microsoft Windows XP Professional 2002 SP2.

I guess it has something to do with new IE security features. Does
anybody know a workaround or how we can disable this IE behaviour.


If it's a question about IE configuration rather than authoring HTML, you'll
probably get a better response in an IE-related newsgroup. My HTML-related
observation is that technically the href should have three slashes after the
colon, and the backslash should also be a slash.

Jul 23 '05 #3
"Dieter Salath?" wrote in comp.infosystem s.www.authoring.html:
in our webpage, a user could open a windows explorer to his temp
directory with a simple link and usage of the file protocol:
<a href="file://C:\temp" target="_blank" >C:\temp</a>

This worked very well a long time,


I doubt that it ever worked. You'd need three slashes after the
file:, not two. You should also have a slash not backslash after c:,
though I believe Windows-based browsers aren't too fussy about that.

The larger issue is that you're only _guessing_ at the location of
the temp directory.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Jul 23 '05 #4
Dieter Salath? wrote:
in our webpage, a user could open a windows explorer to his temp
directory with a simple link and usage of the file protocol: <a
href="file://C:\temp" target="_blank" >C:\temp</a>
Exposing a security vulnerability.
This worked very well a long time
In spite of the malformed url?
but now it does not work anymore.

We use IE6 and Microsoft Windows XP Professional 2002 SP2.

I guess it has something to do with new IE security features.
Precisely so.
Does anybody know a workaround or how we can disable this IE
behaviour.


You want to reintroduce the security vulnerability? Strange request.
Well, no, I don't know how to make your users' systems more vulnerable.

--
Brian (remove "invalid" to email me)
Jul 23 '05 #5
"Harlan Messinger" <h.*********@co mcast.net> wrote in message news:<30******* ******@uni-berlin.de>...
If it's a question about IE configuration rather than authoring HTML, you'll
probably get a better response in an IE-related newsgroup. My HTML-related
observation is that technically the href should have three slashes after the
colon, and the backslash should also be a slash.


That's actually a "URI-related" observation, not specifically
HTML-related.

If this issue is actually to be discussed in the context of authoring
for the WWW, then one needs also to consider how it works (or fails to
work) in browsers other than IE; I believe that Mozilla, for one, also
has security features that limit where you can use "file:" URIs.

--
Dan
Jul 23 '05 #6
da*@tobias.name (Daniel R. Tobias) wrote:
"Harlan Messinger" <h.*********@co mcast.net> wrote in message news:<30******* ******@uni-berlin.de>...
If it's a question about IE configuration rather than authoring HTML, you'll
probably get a better response in an IE-related newsgroup. My HTML-related
observation is that technically the href should have three slashes after the
colon, and the backslash should also be a slash.
That's actually a "URI-related" observation, not specifically
HTML-related.


But knowing the correct value domains for HTML attributes is
HTML-related. ;-)

If this issue is actually to be discussed in the context of authoring
for the WWW, then one needs also to consider how it works (or fails to
work) in browsers other than IE; I believe that Mozilla, for one, also
has security features that limit where you can use "file:" URIs.

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 23 '05 #7
> Exposing a security vulnerability.

Yes, thats why we did not open the file itself, but only the directory
containing the file. However windows make no difference beetween
opening a file and a directory, and in my optinon, this makes sense.
In spite of the malformed url?
Yes, browsers (IE, Firefox, Netscape) are pretty fault-tolerant in
this case. This is not the reason.
You want to reintroduce the security vulnerability? Strange request.
Well, no, I don't know how to make your users' systems more vulnerable.


The reason is the SP2 for Windows XP. SP2 has new security features,
which do not allow the file protocol anymore.

Dieter
Jul 23 '05 #8
On 23 Nov 2004 02:54:36 -0800, Dieter Salath? <sa*****@freesu rf.ch> wrote:
Exposing a security vulnerability.


Yes, thats why we did not open the file itself, but only the directory
containing the file. However windows make no difference beetween
opening a file and a directory, and in my optinon, this makes sense.
In spite of the malformed url?


Yes, browsers (IE, Firefox, Netscape) are pretty fault-tolerant in
this case. This is not the reason.
You want to reintroduce the security vulnerability? Strange request.
Well, no, I don't know how to make your users' systems more vulnerable.


The reason is the SP2 for Windows XP. SP2 has new security features,
which do not allow the file protocol anymore.


Opera 7.54 also doesn't allow this, except in files loaded from your own
machine anyway. This was a change from earlier versions that did allow it.
Well, time to put everything on a proper webserver. There are several
light-weight freeware servers you can run on localhost.

--
Rijk van Geijtenbeek

The Web is a procrastination apparatus:
It can absorb as much time as is required to ensure that you
won't get any real work done. - J.Nielsen

Jul 23 '05 #9
On Tue, 23 Nov 2004, Dieter Salath? wrote:
The reason is the SP2 for Windows XP. SP2 has new security features,
which do not allow the file protocol anymore.


If that's your specific problem, then I don't know why you had to go
and exacerbate it by using defective URL syntax, and trying to open a
new window. The first rule of problem resolution is to remove
extraneous details, and focus down on the specific problem.

I'd suggest reading
http://www.microsoft.com/technet/pro...1341211tt20120
and searching for the string "file://" (without the quotes) and taking
it from there.

That was the technet article that I found when I searched for your
problem: it's entitled:

Changes to Functionality in Microsoft Windows XP Service Pack 2
Part 5: Enhanced Browsing Security

It appears that the user (or their sysadmin) can configure this. Of
course, they'd need some reason to trust you first.

Disclaimer: I haven't personally tried this. YMMV.

hth. Not really an issue that's relevant to "authoring HTML for
the WWW", by the way. A browser- or OS-oriented group might have been
more appropriate IMHO.
Jul 23 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
13378
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL http://mghospedagem.com/images/controlpanel.jpg instead of http://mghospedagem.comhttp://mghospedagem.com/images/controlpanel.jpg As u see, there's the website URL before the image URL.
0
8994
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9555
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9329
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9250
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8247
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.