Persist Security Info and Integrated Security in connectionstring

  • hi

    i use from sql server 2008. and c#

    what is the best connectionstring?

    i dont know if i use Persist Security Info and Integrated Security or not?

    and if yes then their value must be true or false?

    thanks

  • I never use Persist Security Info, and I will have to admit that I really know the effect of it.

    Wether to use Integrated Security=SSPI, or Username + Password depends on the context the application is working in. For a general application, I would permit the user to choose. But your the requirements in your organisation may be different.

    [font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply