Subject Re: [firebird-support] Listen only to localhost
Author mark@lawinegevaar.nl
On Tue, 05 Jul 2011 07:42:59 +0200, Thomas Steinmaurer
<ts@...>
wrote:
>> Is there a way to ensure that a FB database listens only to localhost as
>> a
>> way of increased security?
>
> If you are on 2.1 or later, you could write an ON CONNECT trigger, which
> throws an exception if the client ip (using RDB$GET_CONTEXT) is
> different to 127.0.0.1 or 'localhost'.

Just set the RemoteBindAddress setting in firebird.conf and restart the
server. This will bind Firebird to the network interface specific to that
address. NB: I am not sure if this would work for classic, you might need
to change the xinetd config to achieve the same effect.

Mark