Let's assume I have a site with a MySQL database with logs for login, so a desktop or mobile app would need information like host, root and password to remotely validate a form, but that would not be dangerous every copy of the app have this information in case someone decompile the app and see the connection data, or is there another way more secure?