file:// problem in IE under IIS vdir

  • Thread starter Bent Cazper Kjeldsen
  • Start date
B

Bent Cazper Kjeldsen

Hi.

I make a plain htm file (test.htm) with an anchor to a file

<html><body>
<a href="file:///c:\Temp\Test.DOC">Test</A>
</body></html>

(Could also be link to a file on a shared networkdrive or a share)

Run this from C:\ in IE. The link works fine. The Word document is opended
after a prompt.

If I create a virtual directory in IIS, put the file in the site and call

http://localhost/mysite/test.htm and clicks the link, it's dead. No errors
no nothing :-| It used to work, but some servicepacks/security updates from
Microsoft changed it!! The problem is tried on Windows 2003 (as client and
IIS server), on XP (as client), and only old non-updated PC's does work.

Tried to make Trusted Site, and enable "everything" in IE, but nothing seems
to work.

Anyone?

Thanks

Bent
Denmark
 
B

Bent Cazper Kjeldsen

HI.

Thanks, but the posting i telling that it is possible to put the site en a
trusted zone and then it would work. It does not? Tried it, closed the
browser and retried, but same problem. (Wouldn't like to do the regedit on
all clients)

Any ideas?

Bent
 
B

Bent Cazper Kjeldsen

Further, it has happend in the last two months, so its a pretty new security
patch that caused it, probably not sp1 ?

Bent
 
R

Ramesh, MS-MVP

Bent,

That article says " Only documents located in the "Trusted" or "My Computer"
zone can access documents in the "My Computer" zone"

Note that SP2 is even harder. In Windows XP Service Pack 2, no site from any
Zone can open files in local machine zone, whereas in pre-SP2, only Internet
Zone sites were restricted to open local files, while Trusted/Intranet
could.

I'm talking about the XP systems, and have not tested Server 2003 OS yet.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top