IBDAC and SecureBridge

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
amiller29au
Posts: 11
Joined: Fri 03 Dec 2010 00:45
Location: AU

IBDAC and SecureBridge

Post by amiller29au » Thu 06 Oct 2011 05:17

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.

AndreyZ

Post by AndreyZ » Fri 07 Oct 2011 11:54

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.

Post Reply