Android Question How do I make the data communication between an Android and a MySQL server secure?

hanyelmehy

Active Member
Licensed User
Longtime User
Any idea or real experience how to make the data communication between Android and a MySQL server more secure?
did this enough ?use https
 

hanyelmehy

Active Member
Licensed User
Longtime User
Https will not really help. You should use jRDC2. Letting clients directly access the database is a bad practice.
android connect to mysql with php ,inside app i make encrypt for server url ,try to prevent sql injection ,use https
my concern is can any one listen for network and get server url also get query string??
note :for now my server not support java application so i can't use jRDC2
Thank you
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
my concern is can any one listen for network and get server url also get query string??
Even if you use SSL it will still be possible to get the URL by decompiling your app. Obfuscation will help a bit.

If the database access is read-only then you can limit the SQL user privileges to reading. This way it will still be secure. Another option is to implement the specific queries in PHP.
 
Upvote 0
Top