"David Wang [Msft]" <someone@online.microsoft.com> wrote in message
news:Otxr1CNJGHA.344@TK2MSFTNGP11.phx.gbl...
>
http://blogs.msdn.com/david.wang/archive/2005/12/31/HOWTO_Basics_of_IIS6_Troubleshooting.aspx
>
> Please provide the IIS web logfile entries which correspond to your failed
> attempts. In particular, the HTTP status code, substatus code, and win32
> error code.
>
> You don't need to get frustrated, try random username combinations, nor
> waste time guessing at problems that may not exist. It's a server, so you
> just need to read log files to determine what is wrong and then directly
> fix it.
>
> Your scenario pretty much works by default by using default configuration,
> set NTFS ACLs on the resources to lockdown to only allow access to the
> necessary users, and then configure IIS to require Authentication of some
> sort. The rest of the password prompt, etc will automatically happen when
> necessary.
>
> --
> //David
> IIS
>
http://blogs.msdn.com/David.Wang > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> //
>
> "Gregg Hill" <bogus@nowhere.com> wrote in message
> news:%23TspXw%23IGHA.1088@tk2msftngp13.phx.gbl...
>> David,
>>
>> Thank you for your response.
>>
>> I went into Windows Explorer and set the NTFS permissions on the
>> support.exe file (under wwwroot) with Administrators and System set to
>> Full Control, and the particular client user name to Read.
>>
>> I then looked at the Default Web Site using IIS Manager, and set Execute
>> Permissions to None (it was on Scripts only). I disabled anonymous access
>> on the support.exe file using IIS Manager.
>>
>> My original problem was trying to get it to prompt for name and password.
>> I succeeded in getting that far before, then applied your suggestions as
>> well. The behavior I got before and still get now is that I get the
>> prompt, but no matter how I enter the user name and password, it keeps
>> going back to the prompt.
>>
>> The server is not a domain controller, but is a stand-alone server. I
>> tried all of these combinations:
>> username and password
>> domain\username and password
>> computername\username and password
>> workgroupname\username and password
>>
>> Nothing works. I keep getting bounced back to the prompt. I have tried
>> this from three different computers at three different sites to eliminate
>> caching as a problem.
>>
>> Gregg Hill
>>
>>
>>
>>
>>
>> "David Wang [Msft]" <someone@online.microsoft.com> wrote in message
>> news:uDbIMB8IGHA.2912@tk2msftngp13.phx.gbl...
>>> This is standard procedure.
>>>
>>> Enable authentication protocol and disable anonymous access for
>>> support.exe
>>>
>>> Make sure "Scripts and Executables" is not enabled because you want
>>> support.exe to be downloaded, not executed. Better yet, set Execute
>>> Permissions to "None" so that it can only be downloaded.
>>>
>>> Set NTFS permission on support.exe to only allow Read access to the
>>> authenticated user that your Clients will authenticate with.
>>>
>>>
>>> I suspect that /support.exe was already cached prior to you changing
>>> NTFS permissions so it remained downloadable for a short period of time
>>> until the cache clears.
>>>
>>> --
>>> //David
>>> IIS
>>>
http://blogs.msdn.com/David.Wang >>> This posting is provided "AS IS" with no warranties, and confers no
>>> rights.
>>> //
>>>
>>> "Gregg Hill" <bogus@nowhere.com> wrote in message
>>> news:eVLSmu7IGHA.528@TK2MSFTNGP12.phx.gbl...
>>>> Hello!
>>>>
>>>> I have my web site running on Windows Server 2003 Standard with IIS
>>>> 6.0. I have an executable file, support.exe, that I want to have
>>>> accessible to my clients, but not to anyone else.
>>>>
>>>> I would like it to be available via
>>>>
http://www.mydomainname.com/support.exe so it is easy to download, but
>>>> I cannot get it to be restricted. Even if I set the NTFS permissions on
>>>> the file (in the wwwroot folder) to Deny for Everyone, it will still
>>>> download when I go to the web site.
>>>>
>>>> How can I make it so that only a certain user name can download or run
>>>> that file?
>>>>
>>>> All Googled out and brain dead!
>>>>
>>>> Gregg Hill
>>>>
>>>
>>>
>>
>>
>
>