[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: Embedding a restricted python interpreter
From:       Paul Rubin <"http://phr.cx" () NOSPAM ! invalid>
Date:       2005-01-06 22:21:28
Message-ID: 7xvfaaurkn.fsf () ruckus ! brouhaha ! com
[Download RAW message or body]

Peter Maas <peter@somewhere.com> writes:
> I think PHP has a safe mode which solves the probem of isolating
> scripts of different users on application level. This is not optimal
> but better than nothing. Best solution would probably be to create
> a thread for each request that can operate only with the id of an
> authenticated user. But this seems to be a problem with Apache or
> with Linux?

Threads wouldn't do it--you'd need separate processes.  For example,
multiple threads in the same process can access each other's file
descriptors.  
-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic