What is the best practice and most secure solution when connecting from a .NET 4.0 application to SQL Server in 2008?
And how is this done in c# / vb?
I thought of connecting from the application to the SQL Server's database over an encrypted connection and then by using something called Application Roles.
Would this be a good approach?