IIS Server Security - Access denied in subdirectory

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > April 2007 > Access denied in subdirectory





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Access denied in subdirectory
Roman Mellenberger

2007-04-24, 7:21 am

Hello,

i have a problem configuring IIS6 to enable http downloads. I have a
subdirectory on Inetpub\wwwroot called download. There I put some
files (.exe and .dll) for downloading. I also registered MIME types
(.dll and .exe) as Application/octet-stream.

The download via Browser from the root of the download directory works
well but if I have a subdirectory (e.g. inetpub\wwwroot\download\test)
and put some files in there i get the following error message:
HTTP Error 401.3 - Unauthorized: Access is denied due to an ACL set on
the requested resource.

The access is anonymous with the local IUSR account. This account have
NTFS read permissions on the directory.

Has anyone an idea what's going wrong?

Thanks
Roman

Bernard Cheah [MVP]

2007-04-25, 1:19 am

you sure the virtual directory is using anonymous access?
get filemon to trace and see which account is having problem accessing the
file.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


"Roman Mellenberger" <roman.mellenberger@info-research.ch> wrote in message
news:1177402318.520233.114430@r35g2000prh.googlegroups.com...
> Hello,
>
> i have a problem configuring IIS6 to enable http downloads. I have a
> subdirectory on Inetpub\wwwroot called download. There I put some
> files (.exe and .dll) for downloading. I also registered MIME types
> (.dll and .exe) as Application/octet-stream.
>
> The download via Browser from the root of the download directory works
> well but if I have a subdirectory (e.g. inetpub\wwwroot\download\test)
> and put some files in there i get the following error message:
> HTTP Error 401.3 - Unauthorized: Access is denied due to an ACL set on
> the requested resource.
>
> The access is anonymous with the local IUSR account. This account have
> NTFS read permissions on the directory.
>
> Has anyone an idea what's going wrong?
>
> Thanks
> Roman
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com