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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Authentication question - getting user network ID on intranetAuthentication question - getting user network ID on intranet
Previous
 
Next
New Post
8/14/2012 3:41 PM
 

All,

Is there a way to allow anonymous access to a DNN intranet website yet still be able to get the visitors network ID using server.requestvariables["auth_user"]?  Normally I'd set authentication to allow anonymous in IIS for a site like this but I don't think DNN likes that.  My site looks to get caught in an infinite loop when I disable all authentication types other than windows.

The purpose of getting the network ID is to look up the visitors name in my database so I can produce a message like "Welcome back Mark!". 

Thanks,

Mark

 
New Post
8/15/2012 9:27 AM
 

No, think of what you're trying to do. You're saying I'm going to allow anonymous authentication which means there is no authentication of the user, everything will run under the IIS account, then you want to authenticate the "auth_user" in order to get their name...? You can't do both. 

However, you can allow multiple authentication methods, for example, allow anonymous, enable AD authentication as an authentication provider, and allow them to authenticate via a form login in DNN. So if you want personalized content, they would have to login to the site, but you can still present the site's content to them without authentication.

Anonymous ---> General content ---> Login using AD credentials via form ---> Custom content

 
New Post
8/15/2012 2:34 PM
 
Patrick,

Maybe using anonymous wasn't the best choice of words so let me explain in more detail.

I'd like my employees to freely move about my DNN intranet but have their network ID exposed so I can grab it and display a "welcome Back Mark!" message at the top on the home page. That's why I need their network ID - I have a database with employee information and can retreive it based on their network ID. The same could probably be done using AD but I'd prefer using my SQL Server database to get their name.

The only other group of people that need to access the intranet would be content editors and approvers although I'm not using AD or my SQL Server database to authenticate them. My goal is to create a user in DNN for each of these employees, assign them to either group (editor or approver) and then pass the credentials to them. So these users would be within the DNN site itself.

Does that help? Is this possible w/o AD authentication?

Thanks,
Mark
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Authentication question - getting user network ID on intranetAuthentication question - getting user network ID on intranet


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