Jump to content
mikerabat

Firebird Encryption options

Recommended Posts

Hi Folks!

 

I hope anyone can give me some hints on this topic: Firebird Data encryption and encryption of the data sent.

Especially the "over the line" encryption of data is going to be mandatory for our next projects since there are

a few attack vectors we didn't really anticapte that this would ever be a problem: an attacker has access to an internal

network (e.g. a hospital) and reads the communication from between our program and the remote database.

 

So... data encryption ala SSL, TLS would be a great thing to have. So far the FAQ from firebird only suggest to

use an SSH tunnel or similar to connect to the database but ... is this feasable or even performant?

Has anyone any experience with such a problem or is there anything some Delphi components could do?

 

kind regards

   Mike

 

 

Share this post


Link to post

Devart has a Secure Bridge suite of components to protect a database connection (https://www.devart.com/sbridge/). I have not used it but maybe you could have a look if it suits your needs. I'd rather replace a direct client-server solution with a 3-tier one, thus totally isolating the database from network access.

Share this post


Link to post
17 hours ago, Alexander Elagin said:

I'd rather replace a direct client-server solution with a 3-tier one, thus totally isolating the database from network access.

Switch to a n-Tier architecure is the way to go.
Keep the database locally on your server computer (or network), then use regular REST/JSON over secure HTTPS for the communication with clients.
HTTPS will be much easier to secure and scale than forcing encryption with the database driver. Certificate management is a difficult think to do - I have seen so many solutions running fine... until a certificate becomes obsolete. 😉
We usually use a nginx server as reverse proxy, with https://letsencrypt.org/ certificate management.

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×