If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Authentication modes IIS 4.0

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-13-02, 14:41
mvargasp mvargasp is offline
Registered User
 
Join Date: Aug 2002
Posts: 25
Authentication modes IIS 4.0

Hi all,

I'm working with IIS 4.0 and ASP pages. I've configured IIS with Anonymous and Challenge authentication modes (both are checked). I'm asking IIS server for the user name, but no user name is returned (I'm logged into the same domain).

What is the authentication flow? I thought that the first authentication mode used was the most restrictive and then the others. In this case it seems that only the anonymous mode is being used.

What can I do in order to obtain the user name (if the user is logged into a Windows domain)? and How can I know which mauthetication method was used?

Thanks in advance.

God Bless.
Reply With Quote
  #2 (permalink)  
Old 11-26-02, 18:14
brandonh6k brandonh6k is offline
Registered User
 
Join Date: Nov 2002
Posts: 11
Nope. The only time you'll trigger NTCR authentication if Allow Anonymous is also checked is if you hit a file on the server that has NTFS permissions that do not allow anonymous access (IUSR_<machinename> doesn't have read permissions.

If you want to force a login, you'll need to uncheck allow anonymous.

But... If I read your question right, you want to know whether they are logged into the local domain and under what username... I think you may need to investigate ADSI for that functionality (if you can even do it without an ActiveX control).

Hope this helps...
__________________
- Brandon
Reply With Quote
  #3 (permalink)  
Old 12-02-02, 15:43
JonathanB JonathanB is offline
Registered User
 
Join Date: Feb 2002
Location: North Wales, UK
Posts: 114
You can retrieve what username they have logged on under using the Server object in normal ASP but that is all you'll be able to return.
__________________
J^ - web | email
newsASP Developer
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On