Subject | Re: [firebird-support] Listen only to localhost |
---|---|
Author | mark@lawinegevaar.nl |
Post date | 2011-07-05T07:31Z |
On Tue, 05 Jul 2011 07:42:59 +0200, Thomas Steinmaurer
<ts@...>
wrote:
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
<ts@...>
wrote:
>> Is there a way to ensure that a FB database listens only to localhost asJust set the RemoteBindAddress setting in firebird.conf and restart the
>> 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'.
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