> -----Original Message----- > From: Saad, Dan (N-Computer Sciences Corp) [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 14, 2006 10:08 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Authentication/Authorization at > DocRoot and below > > Apache 1.3.37, auth_ldap v1.6.1, on Solaris 2.9 > I currently authenticate the user at the top of my site. LDAP > non_authoritative - mod_auth authoritative so that during > authorization I can check membership in a series of groups > (ug01-ug05) prior to granting access. Membership in any of > the 5 groups results in access as it should. > > So far so good ! > > Now - I have a page in a subdirectory that I want to deny > access to members of ug02. I then took myself out of all other > > Groups but ug02 and in limiting access to the subdirectory I > changed my require group as follows: > > Require group ug01 ug02 ug03 ug04 ug05 > To - > Require group ug01 ug03 ug04 ug05 > > If I've put myself in ug02 and I'm requiring membership in > any 1 of the other groups - I should be getting denied but I'm not.
If I understand you correctly, it looks like you're trying to "nest" authentication realms. This isn't supported by the Basic Authentication mechanism. This is because the credentials are assigned to a single URL and are inherited by all its sub-dirs. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > I did this not only in <Directory> and <Location> constructs > in the httpd.conf but also tried a .htaccess file. > > Should I not be able to authenticate at entry to the site and > then control access to various resources to certain groups as > I proceed down the tree ? > > Any ideas would be appreciated.... > > Dan > > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]