Hello friends!
I am developing a desktop-based application, using a database connection(MySQL). I am developing it in .NET, but I put the question here, because in my opinion this question regards to all kinds of programming languages. The problem is that there is a small chance to need to connect to remote MySQL server, because of the needs of the application. I am storing some data in hidden objects at start-up.
My question is: If a cracker disassemblies my application and changes some things(for example create a query that extracts everything of DB), can he obtain the whole database structure and the data related to each table? And after he has succeed in his mission, can he drop everything?
I summarize - I will not just use localhost connections, remote connections should be used sometimes. I have all the types of queries inside the program and because of this can a hacker modify some of them or add his own.
P.S I forgot to say that I am encrypting the database password, but this is no security if the hacker uses my application as a executer of the queries.
I hope you have understood my question. I am looking for possible solutions of this problem as well as comments and opinions of others that have encountered this problem.
Best regards,
Penko Mitev
Bulgaria/(Italy until the end of August

)