From the question title is there any way to connect to the database server without using a connection string?
I don't want to put the connection string in the code I want another way.
Is it possible no matter what is the database engine is?
I am building a Windows Form Application using C#.
I mean something like trusted device or windows authentication or by putting a program on server side to do the authentication
I end up using a PHP with Slim 3 Framework to create a POST request. This way I do not have to put the connection string in my app, I only needed to send some credential information and on the server I run a process to check if this credential information is valid or not and to send back the result or not. I is complicated since you need to create your own security methods but it does the trick for me.