Can anyone tell me the best way to encrypt data between a CI application and a MySQL db hosted on separate servers. SSH tunnel? If so, has anyone gotten this working using CI? Code examples and/or links are welcome.
MySQL supports SSL natively. See: http://dev.mysql.com/doc/refman/5.1/en/secure-connections.html