Are there security issues too?  Would you remove potentially harmful
Python libraries for the plugin, not allow system calls, etc?  Would
you only allow file system access in one area?

I guess you'd just copy however Java applets work?  But run faster ;-)


On 7/7/06, Shane Hathaway <[EMAIL PROTECTED]> wrote:
> Gregory Piñero wrote:
> > I was just idley curious on what it would take to make a web plug-in
> > for Pygame.  I'm picturing it working the way my browser currently
> > shows flash games.  Is such an idea even possible?  Has anyone
> > attempted this?
>
> I once played with a similar idea.  Yes, it's possible, although
> platform differences make the idea non-trivial.
>
> Specifically, I ran into difficulty when I discovered that it's not easy
> on Linux to load a dynamic library (such as libpython.so) which in turn
> loads other dynamic libraries (such as native Python modules), since the
> library search path is not modifiable at runtime.  A possible workaround
> is to launch a separate process which projects into the browser window.
>
> I don't know what surprises may pop up on other platforms.
>
> Shane
>


-- 
Gregory Piñero
Chief Innovation Officer
Blended Technologies
(www.blendedtechnologies.com)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to