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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationServer 2008 R2 - Is Impersonation always required?Server 2008 R2 - Is Impersonation always required?
Previous
 
Next
New Post
1/18/2012 4:53 AM
 

Hi All,

We are looking at implementing the Active Directory Authentication provider in our environment but as this would be a live commercial solution we would like to avoid using impersonation (especially domain admin) on our Windows Server 2008 R2 web server.

I have seen contrasting opinion on whether impersonation is required is not and wondered if anyone had a definitive answer. I have tried a test implementation and only seemed to manage to get this working using impersonation but unfortunately did not get chance to full test this.

Any help would be much appreciated...

 
New Post
1/18/2012 11:32 AM
 
Not always but it seems to be a hit or miss situation that I can't explain. I've had multiple installs on my dev in the past where one will need impersonation and the other won't.

However I would look @ this post by Dan Ball... http://www.dotnetnuke.com/Resources/Forums/forumid/89/threadid/402659/scope/posts.aspx. I've had success with it myself.
 
New Post
1/18/2012 12:11 PM
 

Thanks for the reply Mike, I did have a look at that thread previously but like you I couldn't really get it working consistently which seems odd when all the settings are the same.

If anyone else has any ideas it would be much appreciated...

 
New Post
1/18/2012 1:19 PM
 
Lee,

When I initially tested the provider on a Server 2008 system I had to give my impersonation user admin rights on the server. With Dan's procedure you don't have to do that so if you have to use impersonation you can use a plain vanilla domain user account (I'd never consider using an account that was an admin on the domain). That's why I pointed you to that thread.

The reason you sometimes have to use impersonation is because your website is running under the AppPools user account in 2008 (previous OSes usually ran under the Network Service account) and because the account is local to the computer the domain's Active Directory denies access to itself. Using impersonation means that the website talks to AD as the user account specified. Why sometimes it has to be used and other times it doesn't is a question for Microsoft.

But in the end, I wouldn't worry about using an impersonated user as long as that account is locked down with a minimum of rights. That's how I have to run our production site and I at least know that if, by some miracle, the web.config was somehow compromised anyone getting that impersonation accounts credentials wouldn't be able to do anything with it.

Also, I haven't looked at it in a long time but I think you can setup your AppPool in IIS7 to run under a different account. That might work if you're concerned about having the user account/password listed in the web.config.
 
New Post
1/19/2012 4:31 AM
 

Thanks for that Mike, that does make it much clearer. I will let you know how we get on....

Thanks,

Lee.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationServer 2008 R2 - Is Impersonation always required?Server 2008 R2 - Is Impersonation always required?


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