Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 16838, Encrypting InterBase Network Traffic on-the-fly with Delphi

by Craig Stuntz Email: Anonymous


This article describes how to encrypt InterBase TCP/IP network on the fly with a Delphi application. The sample application, IBSec (InterBase Security), can operate in two modes so that the exact same application can be used both on the client and the server.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For InterBase, Version 6.0  to 6.5 1201 downloads
Copyright: All rights reserved


Size: 253,882 bytes
Updated on Fri, 16 Nov 2001 14:08:31 GMT
Originally uploaded on Mon, 29 Oct 2001 07:07:37 GMT
SHA1 Hash: C9161BB8A48A125A6B950A15FE1CBFA0C9DB90E0
MD5 Hash: 97A61D0665B10456730150E5963B63C3

    Explore the files in this upload

Description
Since TCP/IP is a routable protocol, encrypting InterBase network traffic can be achieved by using a client/server type solution. Using such a solution, an encryption program needs to be installed on the client network and all client network traffic must be transferred to it. This program takes responsibility of the encryption, and then sends the data (in encrypted form) to the server. Here another program listens to the traffic, decrypts it, and sends it to InterBase.

The solution is similar to a primitive VPN solution without any authentication features. The solution is efficient since no extra data needs to be transferred, and no modifications are required to application code (except network settings).

This article describes how to encrypt InterBase TCP/IP network on the fly with a Delphi application. The sample application, IBSec (InterBase Security), can operate in two modes so that the exact same application can be used both on the client and the server.

The basic functionality of the application is simple. It accepts a TCP/IP connection, and forwards all data to the specified host. Depending on the operation mode, it either encrypts or decrypts the traffic before forwarding it.

Without IBSec, an InterBase client application contacts the InterBase server using TCP port 3050. When IBSec is used, the InterBase client application will not directly contact the InterBase server. Instead, it will contact IBSec on the same TCP port 3050.

IBSec will then forward the traffic to another instance of IBSec, which will further forward the traffic to the InterBase server. When the InterBase server wishes to send something to the client (for instance, query results), the exactly same things happen in reverse order.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC03