Imagine an architecture composed of 2 Virtual Machines VM1 and VM2 hosted somewhere in the cloud:
- VM1 is dedicated to a Web Front End (Apache/PHP)
- VM2 is dedicated to a MySQL server
- VM1 and VM2 are located in the same hosting company
It means that there is traffic between VM1 and VM2 composed of queries/results. As this traffic occurs in a VM hosting farm out of my control, I guess that somebody can be a "man-in-the-middle" to analyze this traffic.
My question : In this context, how to guarantee the security/privacy/integrity of the MySQL transactions between VM1 and VM2?
As far as I know, there is no privacy option in mysqli_connect.
Thanks for your help
::Guillaume::