Thread: rejecting "interactive" connections

rejecting "interactive" connections

From
Luca Ferrari
Date:
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