How do I use MyDAC's SSLOptions to make a secure connection?
Posted: Thu 21 May 2015 09:29
I'm using MyDAC very successfully to connect a Delphi 2009 application to a remote MySQL database on some ISP via port 3306.
Now I want to make the connection secure so that the logon credentials cannot be intercepted.
I note that TMyConnection has options to use mpSSL and also has properties called SSLOptions but I don't understand what they do
Please can sombody explain (simply!) how I should use these properties to create a secure connection - if that's possible.
In case it helps, I already have libeay32.dll, ssleay32.dll and openssl.exe in the same folder as the delphi executable as they are used by Overbytes ICS SLL to send secure email via my application, although I got that working by trial and error and following demos rather than understanding it fully.
I'd rather not have to pay another $99 to buy SecureBridge just for this one application if MyDAC can already do what I want but I'll buy it if that is what it takes - (provided it is as easy to use as MyDAC)
Now I want to make the connection secure so that the logon credentials cannot be intercepted.
I note that TMyConnection has options to use mpSSL and also has properties called SSLOptions but I don't understand what they do
Please can sombody explain (simply!) how I should use these properties to create a secure connection - if that's possible.
In case it helps, I already have libeay32.dll, ssleay32.dll and openssl.exe in the same folder as the delphi executable as they are used by Overbytes ICS SLL to send secure email via my application, although I got that working by trial and error and following demos rather than understanding it fully.
I'd rather not have to pay another $99 to buy SecureBridge just for this one application if MyDAC can already do what I want but I'll buy it if that is what it takes - (provided it is as easy to use as MyDAC)