Disabling rexec for ActiveScripting in Local Intranet Zone?

Mark Hammond mhammond at skippinet.com.au
Thu Mar 14 17:25:34 EST 2002


Gerson Kurz wrote:
> When you do Client-Side ActiveScripting in Python, you cannot create 
> win32com objects. If my understanding is correct, this is caused by rexec() 
> limiting what you can do, for security reasons. However, over Client-Side 
> Scripting languages such as JScript and VBScript allow you to create 
> ActiveX objects, if IEs security settings allow that. Is there some trick 
> to allow using ActiveX objects (if security is "properly" configured) for 
> the local zone?
> 
> The situation is this. I have a C++ written ActiveX object for scripting 
> webpages that controls some kind of hardware. I want to be able to write 
> test scripts in python, and not in Javascript. Test scripts that are run 
> from the command line work just fine, only IE scripts don't, because of  
> said limitations. Currently, I have to stick with Javascript for sample 
> codes, which is (not surprisingly) a PITA. 

I have no idea :)  I would expect that if IE has set security 
approriately, then Python would not operate under rexec at all - this is 
certainly what happens for WScript and ASP.

What version of win32all?

Mark.




More information about the Python-list mailing list