Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

#Include Problem

Status
Not open for further replies.

vikrambade

Programmer
Sep 20, 2001
12
CA
I have few pages in a folder of a website which require Windows NT Authentication. I do not want the whole folder to be authenticated.

To Acheive that, i created a different folder "Protected" and made it Windows NT Authenticated. I created a ASP page in this folder GET_LOGON_USER.asp. Now, i have #included this page into the ASP pages of earlier folder expecting that to load the #Include page, it would ask for Windows NT Authentication.

But the problem is, for the Protected folder, i have created a Windows NT Domain group which has ALL users for few domains in our network. Like Domain1\*, Domain2\* are included in the Domain Group Domain1\WinNTAuth. So all users of Domain1 and Domain2 should be affectively authenticated. But, when i call the page which has the #Include, it does not ask for Windows NT Authentication. But when i call the GET_LOGON_USER.asp from Protected folder, it asks for NT Authentication.

BUT, when i included a page from other folder which has authentication for few individual users instead of domain, it asks for Authentication.

Any Idea why it does that?

Vikram
 
I'm not shure but when you add entire domain you could also add the IUSR_machine name user who is the default user that your ASP pages runs. Therefor it wont need autentication.

You should group users and the add that domain group to your autentication.

________
George, M
Searches(faq333-4906),Carts(faq333-4911)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top