Restricted Execution HOWTO

A.M. Kuchling

akuchling@acm.org

Abstract:

Python provides a restricted execution mode for running untrusted code that will prevent the code from performing dangerous operations. This HOWTO explains how to use restricted execution mode, and how to customize the restricted environment for your application. It aims to provide a gentler introduction than the corresponding section in the Python Library Reference.