Archive

Posts Tagged ‘Active Directory’

Connecting to Sql Server using Impersonation from Asp.Net

June 16th, 2009 Nathan 1 comment

So you have an Asp.Net application that needs to authenticate its users to Active Directory, and you also want to use their credentials for connecting to a database server. It’s pretty logical thing to do in an enterprise environment where you would normally control all your user privileges using Active Directory. This is especially nice since you also don’t have to put sensitive credentials in your web.config file.

Read more…