Re: Non-secure execution environment

2009-04-20 Thread rogeeff
If anyone is interested I end up using rexec kinda class with only difference that i am using native __builtin__ and resetting __import__ hook to and from local r_import implementation before and after I am executing code in my environment. Gennadiy -- http://mail.python.org/mailman/listinfo/pytho

Re: Non-secure execution environment

2009-04-20 Thread rogeeff
If anyone is interested I end up using rexec kinda class with only difference that i am using native __builtin__ and resetting __import__ hook to and from local r_import implementation before and after I am executing code in my environment. Gennadiy -- http://mail.python.org/mailman/listinfo/pytho

Re: Non-secure execution environment

2009-04-17 Thread rogeeff
On Apr 17, 3:16 am, Ken Seehart wrote: > roge...@gmail.com wrote: > > Hi, > > > I am C++ guy for the most part and don't know much of Python, so, > > please, bear with me if I am asking errrm..idiotic question. > > > Old rexec module provided kinda 'secure' execution environment. I am > > not look

Re: Non-secure execution environment

2009-04-17 Thread Aaron Brady
ourself, and prohibit things like > > access to the file class, the os module, etc. > > I actually need *non-secure* execution environment. I just want > several independent ones. > > Gennadiy Oh. Ken gave you a good answer then. You can also check out the 'subproc

Re: Non-secure execution environment

2009-04-17 Thread rogeeff
gt; from C++. > > > Thanks, > > > Gennadiy > > It depends what you mean by secure environment.  One option is to > create a subprocess, to just limit access your variables.  Another is > to compile and examine their code yourself, and prohibit things like > acces

Re: Non-secure execution environment

2009-04-17 Thread Aaron Brady
On Apr 17, 1:47 am, roge...@gmail.com wrote: > Hi, > > I am C++ guy for the most part and don't know much of Python, so, > please, bear with me if I am asking errrm..idiotic question. > > Old rexec module provided kinda 'secure' execution environment. I am > not looking for security at this point.

Re: Non-secure execution environment

2009-04-17 Thread Ken Seehart
roge...@gmail.com wrote: Hi, I am C++ guy for the most part and don't know much of Python, so, please, bear with me if I am asking errrm..idiotic question. Old rexec module provided kinda 'secure' execution environment. I am not looking for security at this point. What I need an execution envir

Non-secure execution environment

2009-04-16 Thread rogeeff
Hi, I am C++ guy for the most part and don't know much of Python, so, please, bear with me if I am asking errrm..idiotic question. Old rexec module provided kinda 'secure' execution environment. I am not looking for security at this point. What I need an execution environment which almost like re