<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.2">
</HEAD>
<BODY>
Hello,<BR>
<BR>
<BR>
&nbsp;&nbsp;&nbsp; I've added the command line -S option to the blenderplayer so it'll run python sandboxed.<BR>
<BR>
&nbsp;&nbsp;&nbsp; No global variables. What I did was to change the constructor for the GPG_Application class and to add a property (TPythonSecurityLevel pythonSecurityLevel) to it.<BR>
<BR>
&nbsp;&nbsp;&nbsp; By default the security level is psl_Lowest, but when called with -S it becomes psl_Highest.<BR>
<BR>
&nbsp;&nbsp;&nbsp; I've implemented it against the apricot branch (as it's the one I'm using in the plugin developent right now because I need to make a tech demo). Can I submit a patch against this branch or should I implement it again against the trunk before submitting the patch?<BR>
<BR>
&nbsp;&nbsp;&nbsp; Working with this branch is our favorite way, but I think we can send patches against the trunk.<BR>
<BR>
&nbsp;&nbsp;&nbsp; Anyways, I hope I can attend to this Sunday 's meeting.<BR>
<BR>
<BR>
Best wishes.<BR>
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<IMG SRC="cid:1220037816.30138.0.camel@isidori.escritorio.ydeabr.com" ALIGN="bottom" ALT="Ydea Desenvolvimento de Software LTDA." BORDER="0"><BR>
<BR>
<FONT SIZE="2"><FONT COLOR="#0090ff">Marcelo Cora&#231;a de Freitas </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0090ff">Gerente de TI </FONT></FONT><BR>
<BR>
<FONT SIZE="2"><FONT COLOR="#0090ff">Ydea Desenvolvimento de Software LTDA. </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0090ff">Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0090ff">CEP.:04734-004 - S&#227;o Paulo - SP </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0090ff">Tel.: 55-11-5523-0333 </FONT></FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>