I have Winforms application that connects to a SQL database. We are changing the connection strings so that they will now use integrated security (Windows Authentication) instead of SQL authentication. We have a few cases where people use the application over a VPN on their home computer.
Connecting to the database with SQL authentication isn't a problem over the VPN. I was wondering if there was a way in .NET to build a connection string with user's Windows Credentials specified to connect to the SQL database.
I've seen this question. But the application I'm working with is a Click-Once application. And I'm unsure if this will work. I'm hoping for a solution that will require little-to no effort on the part of the end-user.