untrusted dynamic module: win32api

Mark Hammond mhammond at skippinet.com.au
Wed Sep 11 18:54:40 EDT 2002


Guy Rabiller wrote:
> [Mark]
> 
>>It appears that SoftImage is configuring ActiveScripting for "untrusted"
>>scripts - ie, SoftImage is requesting the scripting engine switch into
>>untrusted mode.  Thus, you really need to ask SoftImage is the
>>application can be configured to not request restricted execution mode
>>of the language
> 
> 
> After a closer look, it seems that this has nothing to do with Softimage,
> but with MSIE.
> 
> Even if I include ( for exemple ):
> 
> <SCRIPT Language="Python">
> import win32com.client
> w = win32com.client.Dispatch("Photoshop.Application")
> </SCRIPT>
> 
> in a simple html file, then launching it in MSIE, totaly outside from
> Softimage, it doesn't work, I still have the same error message.
> ( it works in VBScript and JScript )
> 
> I think this has to do with restricted execution mode, but I have no clue
> how to customize it for allowing the loading of 'untrusted dynamic modules'.
> 
> Any help on this would be greatly apreciated.

IE certainly does force restricted execution mode.  There is no standard 
way to remove this restiction so facilities like you request can be 
performed on any installation.  If necessary, you could modify the 
engine source code to remove this restriction - mail me for details.

Mark.




More information about the Python-list mailing list