There is no way to turn this feature off. For some reason, regardless of
the security settings, IE appears to still ask Python to switch to
"restricted" mode. There _may_ be a limitation here in the engine - ie,
maybe IE is asking for a more relaxed restriction that Python sees as "all
or nothing".
either way, the simplest way is probably to hack
"win32comext\pyscript\client\framework.py", and search for the "rexec"
support. You should be able to spot where we turn this on pretty easy -
just disable that!
Mark.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Andrew
> Wilcox
> Sent: Tuesday, 5 December 2000 9:54 AM
> To: [EMAIL PROTECTED]
> Subject: using an "untrusted dynamic module" from Active Scripting
>
>
> I've working on an intranet application that's pulling data into MS
> Project. It would be very nice for my users if they could run my Python
> script just by pushing a button on the intranet web page. This is all
> inside of IE 5.
>
> I'm trying to see if I can use active scripting, following the examples in
> axscript. My attempt to import win32com results in an "ImportError:
> untrusted dynamic module: win32api".
>
> Is there a way that I can set my security settings to allow me access to
> win32com? I've gone into the Internet Options of IE 5 and
> fiddled with the
> security settings in the "Local intranet" zone. I've set it to allow
> anything :-), but sadly that doesn't seem to be enough.
>
> Any help would be appreciated!
>
> Thanks,
>
> Andrew
>
>
> _______________________________________________
> ActivePython mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/activepython
>
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython