NTFS to secure directory in IIS6 not working as expected
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > NTFS to secure directory in IIS6 not working as expected




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    NTFS to secure directory in IIS6 not working as expected  
Troy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-14-06 03:26 AM

I am attempting to secure a directory off a URL (ex.
www.domain.com/dir1/members  I have changed the NFTS permissions on the
member (this is not a virutal) directory to remove my anonmyous user and
added a user who has local login rights.  When I attempt to access the URL, 
I
am prompted for a username/password but no matter what u/p I use (including
the local admin), I am not able to gain access to the directory.  As soon as
I add the anonymous back, I can access the directory but obviously I am not
prompted to enter u/p.  What am I missing?  I've done this multiple times on
IIS5 and it worked perfectly.

Thanks in advance...





[ Post a follow-up to this message ]



    Re: NTFS to secure directory in IIS6 not working as expected  
David Wang [Msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-14-06 12:48 PM

I suggest the following blog entries on how to troubleshoot:
http://blogs.msdn.com/david.wang/ar.../>
ooting.aspx
http://blogs.msdn.com/david.wang/ar.../>
Denied.aspx

In particular, you need to look through the log file to determine what error
is getting returned that is causing the user/password prompt where nothing
works, and go from there. I suspect that you have some server-wide
misconfiguration that prevents authentication protocol(s) from working,
hence when you remove anonymous, nothing works. But, the log file will show
this and more, so we need not guess -- which is the worst way to
troubleshoot.

What you want to do works by-default on IIS6 in the same manner as IIS5 -
turn off Anonymous authentication and add required NT user to NTFS ACLs of
resource, and things just automatically work.

Usually when things break like this and the machine is in a Domain or is the
Domain Controller, I suspect some Group Policy Security Lockdown which
removed *some* arbitrary number of user privileges that now break things --
and since it removed arbitrary settings, you need to determine what they are
and reverse the damage.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//

"Troy" <troy@custominet.net> wrote in message
news:CBABF37E-E29D-4062-89FC-B1454D1F5B12@microsoft.com...
>I am attempting to secure a directory off a URL (ex.
> www.domain.com/dir1/members  I have changed the NFTS permissions on the
> member (this is not a virutal) directory to remove my anonmyous user and
> added a user who has local login rights.  When I attempt to access the
> URL, I
> am prompted for a username/password but no matter what u/p I use
> (including
> the local admin), I am not able to gain access to the directory.  As soon
> as
> I add the anonymous back, I can access the directory but obviously I am
> not
> prompted to enter u/p.  What am I missing?  I've done this multiple times
> on
> IIS5 and it worked perfectly.
>
> Thanks in advance...







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:47 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register