469,281 Members | 2,486 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,281 developers. It's quick & easy.

win32com and apache and permissions

I'm trying to have a Python script (which is being launched by Apache
as a CGI) control Internet Explorer. I have this working on my
development box, but when I moved the code to my integration test box,
I get "Access Denied" when trying to launch IE. This only seems to
happen when running Apache as a service. If I run apache as a console
app, everything works fine. In summary:

User Method Dev Box Integration Box
Administrator Console Works Works
Administrator Service Works "Access Denied"
Apache Console Works Works
Apache Service Not permitted Not permitted

So somewhere, somehow, I think I've granted some permission on the dev
box that I have not granted on the integration box. Can anyone think
of what it might be?


Jul 19 '05 #1
1 1564
found the answer five minutes after posting the question. Isn't that
always the way?

I had not granted the Apache user permission to launch IE. To do so:

* launch DCOMCNFG.exe
* choose "internet explorer" and click "properties"
* choose the "security" tab and and "custom launch permissions"
* "edit permissions", then "add"
* choose "Users", then click "show users"
* choose the "apache" user and click "add"
* "OK" your way out of there.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by gruddo | last post: by
2 posts views Thread by Chris Curvey | last post: by
2 posts views Thread by Sibylle Koczian | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.