can anyone tell me how to connect to SQL 2008 using windows authentication thru inno? Currently I’m using ado connection to connect to SQL from inno, the user needs windows authentication option too. Please suggest.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s enough to remove the credential attributes from your connection string (
User IdandPassword) when we are talking about the example you’ve linked in your question and include one of the following:Integrated Security=SSPI;Trusted_Connection=True;This answer is based just on
this topic, I haven’t tested it.Update:
I don’t know if that’s what you want to do, but I’ll post it here. The following script creates a custom page with radio buttons letting user choose authentication mode and optionally fill the credentials.
Important:
There is no protection against SQL injection for those credential fields!