Re: Strange link to file:/// problem

From: Dave (noone_at_nowhere.com)
Date: 07/29/05

  • Next message: Kristofer Gafvert [MVP]: "Re: Troubles connecting to 'WinNT://' provider"
    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
    >
    >


  • Next message: Kristofer Gafvert [MVP]: "Re: Troubles connecting to 'WinNT://' provider"

    Relevant Pages

    • Re: PHP-Yes, HTML-No --- Why?
      ... Surely a dynamic web server should appear exactly the same as a static one - all files that contain HTML when viewed should be called ..html. ... If you know how, say, the PHP apache module works, you'll see that the hit is absolutely, positively minimal. ... "Andrew DeFaria" <That's also exactly why php files should have php as their extensions - because that's the way that web servers determine which pages not only need parsing, but which parsing it needs. ...
      (comp.lang.php)
    • Re: Teaching HTML & CSS to 15-year-olds - advice sought
      ... How web pages or HTML pages if you want to be pernickety are actually ... (The next step of setting up a web server is of course a ... to Imperial College to do mechanical engineering, ... Anyone want to employ me - BSc in electrical engineering, ...
      (uk.net.web.authoring)
    • Re: Call a Rexx Script from a Web Page
      ... Put your HTML files in ".\html". ... start "Web server" /min web.exe ... Now you have a web server ready for REXX CGI programming. ... As sample HTML file: ...
      (comp.lang.rexx)
    • Re: HTML Page Linked to Windows Folder?
      ... folder, ... the html file to change automatically. ... that you will have to install a web server on your computer. ... Basically if this is for your own use, you do not need a webserver in order to do file management. ...
      (alt.html)
    • Re: Editing software
      ... Banner looks like Powerpoint animation. ... I use Wordpad to hand-code my HTML and CSS. ... a secure Telnet session into my account on their Web server. ... I don't particularly like the way Nvu formats the ...
      (comp.infosystems.www.authoring.html)