Reading this [answer](https://dba.stackexchange.com/questions/132352/why-is-pl-python-untrusted) it appears there may be a security risk in using PL/Python and I am curious how to overcome them. Is my interpretation of the "untrusted" as "unsecure" correct and if so if you wanted to use PL/Python is there a way to configure the database in such a way as to overcome the vulnerabilities? Vague thought, but for example is it possible to somehow sandbox the python code execution?