win32: own content-type --> start python script

Chris Gonnerman chris.gonnerman at newcenturycomputers.net
Tue Nov 12 08:50:08 EST 2002


----- Original Message ----- 
From: "Thomas Guettler" <zopestoller at thomas-guettler.de>


> Hi!
> 
> Does someone know how I can install
> a fileextension on win32, so that if I download
> a file with this extension in a browser
> a script at the client get's called?
>
> Of course the script needs to be installed before
> it. It is an intranet solution.
> 
> At best, this script should be called directly, without
> asking the user if he wants to download or start the
> given application with this file.

With Internet Explorer there's probably a way to do
this... after all, what you are describing is a truly
ugly security hole, and IE has lots of those.

Most likely you'll have to tamper with the Intranet
Zone security settings to get what you want.  I don't
know the specifics, though.

*shudder* Nasty business...

Chris Gonnerman -- chris.gonnerman at newcenturycomputers.net
http://newcenturycomputers.net





More information about the Python-list mailing list