Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Windows + Basic Authentication ProblemWindows + Basic Authentication Problem
Previous
 
Next
New Post
1/30/2008 8:52 PM
 

I am working with a DNN 5.4.1 installation that is set up as an intranet.  It currenrly uses the ADSI provider with Windows Authentication set up in IIS.  Users access this intranet site from domain machines within the domain and from non-domain machines through a VPN connection.

I have developed a module that impersonates the logged in user and the displays files from a directory on another machine on the domain.  The basic gist of how I am doing impersonation is:

impersonationContext = Request.LogonUserIdentity.Impersonate

If I make the following settings in IIS here are the results I get:

  • Windows Authentication:  The FileList module works fine for users who have a domain computer and run Internet Explorer, even if they are connected through a VPN.  Non-domain machines or FireFox users cannot see any directories.
  • Basic Authentication:  The FileList module works fine for everyone.  However, each user, even those on a domain machine, will receive a challenge prompt and will have to enter credentials before they can access the intranet.
  • Mixed Windows and Basic Authentication:  Same results as Windows Authentication.

I know that IIS processes Windows Authentication requests before it processes Basic Requests.  In our test, IIS appears to think that it has correctly processed a Windows Authentication Request with ADSI when it has not.  Because of this I think that the IIS never attempts Basic Authentication when it is set to accept both Windows and Basic Authentication.  

I can live with the requirement to only support IE.  However, I can't have all of the domain machines receving the challenge  prompt. 

I've been round and round with this one and am not at a pretty dead end.  Does anyone have any trails that I might prusue to better understand what is going on and what can be done to correct it?

Thanks in advance for the help!

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Windows + Basic Authentication ProblemWindows + Basic Authentication Problem


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out