IIS denies access to local .com folders

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Marco De Vitis (starless_at_spin.it)
Date: 01/21/05


Date: Fri, 21 Jan 2005 12:52:46 +0100

Hello,
I noticed a strange problem with IIS on my WinXP Pro SP2 machine.

In my web server's directories I have some folders named like
"www.site1.com", "www.site2.it", which contain the actual files of the
corresponding web sites I manage.

So I used to access them by typing URLs such as
http://localhost/www.site1.com/ for folders contained in wwwroot, or
http://localhost/mydata/www.site2.it/ when contained in the "mydata"
virtual directory.
I'm absolutely sure this worked fine for years.

But now, IIS denies access to folders whose name ends with ".com". When
the folder is in a virtual directory, I'm asked for authentication and
then denied access (the error page talks about ACLs, but I have no ACLs on
that virtual directory, as it resides on a FAT32 partition); when it's in
wwwroot, I'm not asked for authentication, and I immediately get an error
page telling instead that execution is not allowed.
Everything works fine, instead, if I rename the folders to make them end
in ".it" or anything else... but the problem remains if I use ".exe".

So it seems like a dumb security measure, I suppose recently introduced
with some WinXP upgrade.
Is there a way to deactivate it? It looks very stupid to me... the server
should know if it's serving a directory or a file... and then I don't see
why it doesn't block access to .bat and .vbs folders, too. 8-/

Thanks in advance.

-- 
Ciao,
  Marco.
..."The Lamb Lies Down on Broadway", Genesis 1974


Relevant Pages

  • PROBLEM SOLVED by Thomas Poett Principle Consultant
    ... do you mean no other virtual folders exist in IIS ... Internet Information Services settings are not correct. ... >> | Default website is listening on a port other than port 80, ...
    (microsoft.public.windows.server.sbs)
  • Re: Need help setting up remote desktop.
    ... I have been trying to work my way through this using the help files. ... The reason I wanted to use the web based method is that I wanted to temporarily ... those folders, the way I can with the people who are on the home network (D-Link ... I am assuming for now that is connected to the use of IIS, ...
    (microsoft.public.windowsxp.network_web)
  • Directory Names with Executable Extensions...
    ... I have read a number of posts in news groups about this issue with IIS ... The WiderNet Project is a non-profit project that collects, ... NT or Win2k server running IIS on the campus network, ... and the files are saved in project folders. ...
    (microsoft.public.inetserver.iis)
  • Re: Security Scan on IIS shows files and folders
    ... > Recently our comapny had a Professional Security Scan done one of our ... I recommend checking your IIS web logs. ... who can guess the name of the files and folders can view them. ... to .Old or .Bak is a serious problem as the attacker gets to see your .ASP ...
    (microsoft.public.inetserver.iis.security)
  • Re: customre deleted OWA folders in IIS HELP!
    ... folders have been recreated. ... 500" When I try and browse from the IIS ... server seems to be replacing the companyweb with the default web page. ... and open IIS, I see that the folder exists and if I browse it, I can ...
    (microsoft.public.windows.server.sbs)