Secure Python

timmy timothy at open-networks.net
Thu Nov 16 07:07:41 EST 2006


Fredrik Lundh wrote:
> timmy wrote:
> 
>> maybe you should google "linux kernel limit" and you can prevent any 
>> user/process maxing out your system
> 
> 
> one would have thought that the phrase "apart from OS-specific stuff" 
> might have meant that the OP wasn't asking for Linux-specific solutions.
> 
> </F>
> 

sorry i didn't see that.
cpu and memory limiting aren't specific to linux though, any NT system 
can also do it.
the only effective way to prevent someone with  access to a compiler 
from performing a local dos on your system is use each os's resource 
controls. there's no cross platform way to do this, since every system 
has vastly different methods of memory and cpu time handling.
This looks like a case where he will just have to accept this as a trade 
off (security is always a trade off)



More information about the Python-list mailing list