"Safe" Embedded Python

Hervey Wilson herveyw at dynamic-cast.com
Tue Jan 1 15:16:12 EST 2002


I am contemplating embedding Python in my application in order to support end-user scripting. Having done some initial
investigation, I am happy with the functionality that I can expose but now I find myself concerned with safety /
security, specifically I want to limit scripting activities to the core language features and the object model that my
application exposes. Put another way, I don't want the scripts to be able to read / write to the hard-disk, open sockets
and so on.

Can anyone provide some tips / links on the viability of doing this and any implementation examples ?

Thanks in advance,
H.





More information about the Python-list mailing list