[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Pygames on a webpage



On Jan 2, 2005, at 10:25 AM, David Holland wrote:

More like a miracle worker.  Python is NOT SECURE,
and it would require
a HUGE amount of effort to audit the runtime and
make it secure.  You'd
probably be better off starting from scratch.

You could embed Jython in a Java applet on a web
page, and that would
be as secure as Java is.  Of course, you wouldn't be
able to use
pygame, because it's not pure Python.

That is a shame as apart as python is a really useful
langugage !

Sandbox or no sandbox, you still wouldn't be able to use pygame. It is a binding for SDL, a library written in C, that does not have security as one of its goals.


If you like the language but need a sandbox, then use Jython, or one of the other alternative implementations of Python that have that capability. The alternative is to have the OS do it for you (chroot, etc.) but that is not portable.

-bob