From: hubert depesz lubaczewski <depesz@depesz.com>
To: Nelson Gonzaga <ngonzaga@yahoo.com>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: Hide function source
Date: Mon, 11 Oct 2021 09:40:15 +0200
Message-ID: <20211011074015.GA31728@depesz.com> (raw)
In-Reply-To: <1331401808.1491628.1633855833151@mail.yahoo.com>
References: <1331401808.1491628.1633855833151.ref@mail.yahoo.com>
<1331401808.1491628.1633855833151@mail.yahoo.com>
On Sun, Oct 10, 2021 at 08:50:33AM +0000, Nelson Gonzaga wrote:
> Dear,How do I hide a function source code from all users except
> superuser, but all can execute it?Thanks,NelsonĀ
Write it in something else than sql or plpgsql, and use external file.
But, if your function source is security vulnerability, then don't write
it that way.
Best regards,
depesz
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: depesz@depesz.com, ngonzaga@yahoo.com, pgsql-admin@lists.postgresql.org
Subject: Re: Hide function source
In-Reply-To: <20211011074015.GA31728@depesz.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