Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

My organization uses Active Directory to control access to our databases. Building web applications and as part of our CI process I would like to specify the credentials in the connection string.

Is it possible to pass AD credentials in a connection string or do I need a standard SQL account for these items?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

You can have your app impersonate a windows user and do the connection that way. Example for ASP.net app.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.