Enabling asp.net user to read Active directory

  • Thread starter Thread starter Andy
  • Start date Start date
A

Andy

HI all,

I'm trying to read Active Directory from within an Asp.net application
which is not impersonating any domain user.

I'd like to allow the site to query the Active directory, but I want to
make sure that the access is done in a secure way.

What are the options and their benefits / drawbacks?

Thanks
Andy
 
Without impersonation you would have to give ASPNET (user) on the
server sufficient privileges. I have only done Active Directory work
with impersonation before, and typically i like to require the user to
login to the site with a domain account that the site then
impersonates. This way you are not granting new rights to users... Just
my two cents
 
Ok, sounds like impersonation is the way to go then.

Thanks for the tip.

Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top