I am trying to figure out a solution where a customer will not have access to the source code to a Windows desktop application (and so won't be able to recompile the application) but they will have control over their SQL Server instance, which they may wish to relocate to a different server at some time in the future.
We can specify Integrated Security in the connection string and either the server's IP address or its network name.
But where could that connection string itself be kept so that the customer could edit it if they need to relocate the SQL Server instance, and the application will always be able to find it and read it?
Assume that the software developers have all been beamed up into a UFO by extraterrestrials. They are not available to recompile the application either.