[Python-Dev] Capabilities in Python

Neil Schemenauer nas@python.ca
Fri, 31 Jan 2003 13:55:07 -0800


Ka-Ping Yee wrote:
> Off the top of my head, i only see two things that would have to
> be fixed to turn Python into a capability-secure system:
> 
>   1. Access to each object is limited to its declared exposed
>      interface; no introspection allowed.
> 
>   2. No global namespace of modules (sys.modules etc.).
> 
> If there is willingness to consider a "secure mode" for Python
> in which these two things are enforced, i would be interested
> in making it happen.

FWIW, I think that would be a useful model.

  Neil