Wonder what is the best practice to authenticate a database user for Windows app’s repository database.
My Windows application uses a PostgreSQL as a repository and the App saves all monitoring information in there and retrieves it to make a graph…
As you know, as soon as the App starts it needs to log in the database with a password.
As for the password, do you typically save the password in your code to log in? Or, it prompts your input for the password?
I think it is more convenient to save it in your code.
I would like to know how you achieve this requirement.