Re: Strange link to file:/// problem
From: Dave (noone_at_nowhere.com)
Date: 07/29/05
- Previous message: Mat Kramer: "Trace SSL Handshake"
- In reply to: Bent Cazper Kjeldsen: "Strange link to file:/// problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 29 Jul 2005 14:23:48 -0000
when running with ie using it to browse the local drive instead of going
through a web server you are just accessing files without the server so you
have full access to whatever account you are logged in to. however when you
put the html file under the virtual directory and ask for the web server to
give you the doc file it has to access files as it's own limited account
user... it is likely that the server does not have access to to that file
from its limited account, and of course you would not want outsiders to be
able to go through your web server to access arbitrary files on your c:
drive anyway so this is probably a bad way to serve that file. you would be
better to move the doc file to the same folder as the html or a subfolder so
that the link looks more like Test where the
test.doc file in the the subfolder docs under the html folder. this way the
server should be able to access it and it keeps you from having to give the
web server more access than it really needs.
"Bent Cazper Kjeldsen" <news@nospam.at.all.dithjem.dk> wrote in message
news:ue2QZnDlFHA.3256@TK2MSFTNGP12.phx.gbl...
> Hi.
>
> I don't know if this is the right news group, but I try :-)
>
> I make a plain htm file (test.htm) with an anchor to a file
>
> <html><body>
> Test
> </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
>
>
- Previous message: Mat Kramer: "Trace SSL Handshake"
- In reply to: Bent Cazper Kjeldsen: "Strange link to file:/// problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|