From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ravi Krishna <ravikrishna@vivaldi.net>
Cc: Pawan Sharma <pawanpg0963@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Restrict connection from pgadmin.
Date: Mon, 3 Feb 2020 09:43:18 -0800
Message-ID: <cac9bdde-bd61-d0c9-5f53-0cb8d064aad5@aklaver.com> (raw)
In-Reply-To: <BFF6D625-FE89-43FE-923A-B17C81D5F1E1@vivaldi.net>
References: <CAKqG8NUas0UGOj6KJSQQqQrx6tAxnNu5SKDFyKgBQUsmDAi+5Q@mail.gmail.com>
<993e25c3-0389-3f32-2b0c-a3d250e09a10@aklaver.com>
<BFF6D625-FE89-43FE-923A-B17C81D5F1E1@vivaldi.net>
On 2/3/20 9:15 AM, Ravi Krishna wrote:
>>
>> Not that I know of. pgAdmin is just another client so you just have the methods available here:
>>
>> https://www.postgresql.org/docs/12/auth-pg-hba-conf.html
>>
>
> will the col application_name from pg_stat_activity list pgadmin as pgadmin. if yes, then the closest one can achieve
Make a connection from pgAdmin and see.
> is to have a daemon process wake up every 1 min or so and terminate any pgadmin app.
I can do a lot of damage in a minute.
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, ravikrishna@vivaldi.net, pawanpg0963@gmail.com
Subject: Re: Restrict connection from pgadmin.
In-Reply-To: <cac9bdde-bd61-d0c9-5f53-0cb8d064aad5@aklaver.com>
References: <CAKqG8NUas0UGOj6KJSQQqQrx6tAxnNu5SKDFyKgBQUsmDAi+5Q@mail.gmail.com> <993e25c3-0389-3f32-2b0c-a3d250e09a10@aklaver.com> <BFF6D625-FE89-43FE-923A-B17C81D5F1E1@vivaldi.net> <cac9bdde-bd61-d0c9-5f53-0cb8d064aad5@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox