I have a situation where users access a remote MySQL server in a C # application.
Basically,
A user using the C # application on his desktop → →> connects to the remote → → → →> [REMOTE]
How to safely hide database connection details?
I have few ideas, but I don’t think they are safe.
- Encrypt database connection data to a file and store it in the application directory.
- enter the username and password, and then transfer the data about connecting the database to the user computer.
source
share