Page 1 of 1

IBDAC and SecureBridge

Posted: Thu 06 Oct 2011 05:17
by amiller29au
Hi,

I'm an wanting to implement a secure connection between the IBDac connection and the server, using SSH or the like.

Am I able use SecureBrigde to do this? If so, some ideas on how to implement this would greatly appreciated.

Thanks,
Anthony.

Posted: Fri 07 Oct 2011 11:54
by AndreyZ
To use IBDAC with SecureBridge, you should perform the following steps:
1. Install SSH server on the computer which runs InterBase or Firebird server, setup it to listen a port allowed for remote connections, and run the SSH server. You can find an SSH server implementation within SecureBridge demos.
2. Add TScSSHChannel and TScSSHClient components to your client application to make an SSH client, and setup port forwarding from a local port to your InterBase or Firebird server through the port listened by the SSH server. As an example, see the SSHClient demo of SecureBridge.
3. Setup your TIBCConnection to connect to the localhost on the port that you used for port forwarding.