I want to make a client-side, Windows-based application that allows the user to register and it will store the registration details in an online MySQL server.
However when i googled ways to do this, I found that to establish such a MySQL connection I should provide an SQL user with write permissions and also provide that SQL user’s password (All these should be in my code).
This leads to a problem; if someone decompiled my application, they could get my SQL user and password, and they could see and do anything to my SQL database.
Is there anyway to prevent this?