pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: steve.pousty@gmail.com
Subject: Trusted versus untrusted Pl language
Date: Wed, 23 Dec 2020 20:24:13 +0000
Message-ID: <160875505390.674.9084620641912624635@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/plpython.html
Description:

Hey all:
This page & the PL/PERL page are the closest I have seen in the docs about
trusted versus untrusted languages. 

It would be great if we could add a subtopic and 1 or 2 paragraphs on this
page  https://www.postgresql.org/docs/current/xplang.html

Possibly outline:
A) Explain to users what trusted versus untrusted in terms of language
extensions. 
    1) Differentiate that from non-risky versus risky 
     2) Explain why, by default, functions written in untrusted languages
need to be added by superuser.
B) It would be great to give an example workflow of  working with untrusted
languages 
    1) Developer uses superuser on their own machine or makes the language
trusted 
    2) Send function to the DBA   
    3) Function goes through security review and testing
    4) If it passes then the DBA installs in a production DB
C) An example on how to make a language trusted in a db.

Thanks
Steve


view thread (9+ messages)  latest in thread

Message-ID: <160875505390.674.9084620641912624635@wrigleys.postgresql.org>
Permalink:  ../160875505390.674.9084620641912624635@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/160875505390.674.9084620641912624635@wrigleys.postgresql.org

 · 

reply

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-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, steve.pousty@gmail.com
  Subject: Re: Trusted versus untrusted Pl language
  In-Reply-To: <160875505390.674.9084620641912624635@wrigleys.postgresql.org>

* 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