rejecting "interactive" connections

From: Luca Ferrari <fluca1978(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: rejecting "interactive" connections
Date: 2020-06-18 11:55:51
Message-ID: CAKoxK+5b6JhAv9wXSRhzhu_dU+m0iz1nokmkinpsmcXrJdUZQg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,
I'm just wondering if there is a way to discriminate a connection
opened from an application server from one opened by an interactive
client (e.g., psql) using the same credentials: the aim is to reject
connections established from an interactive client rather than an
application server.
I know there is application_name as a property, but I don't think it's
usable to this aim and a filter at hba level exists.
Anyone have an idea?

Thanks,
Luca

Browse pgsql-general by date

  From Date Subject
Next Message Wolff, Ken L 2020-06-18 13:56:00 RE: Netapp SnapCenter
Previous Message o1bigtenor 2020-06-18 11:50:12 Re: i am getting issue as FATAL: password authentication failed for user ' postgres' tried