Re: Hide function source

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Nelson Gonzaga <ngonzaga(at)yahoo(dot)com>
Cc: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Hide function source
Date: 2021-10-11 07:40:15
Message-ID: 20211011074015.GA31728@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message vihari raj 2021-10-11 16:21:00 all_roles_backup
Previous Message Mladen Gogala 2021-10-10 14:08:02 Re: Hide function source