ajt has asked for the wisdom of the Perl Monks concerning the following question:
It looks like IIS is simply running the script through Perl via the registry association: "perl.exe runs .pl files". Essentially it looks like the same error if you run the file from cmd.exe without specifying -T in the call.
Does this mean that most IIS boxes running Perl are always running with Taint off, or have their admins reconfigured NT so that Perl is always called with -T?
What is therefore the best way to write scripts so that they can be run as safely as possible and on as many platforms as possible, without having to rewrite them when they move box?
I assume that it's best to let Apache use a shebang rather than a registry association when running it on NT, see How does apache under NT find the perl interpreter?.
If I could we wouldn't be using MS IIS, but that's another story....
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Taint with Perl on NT/IIS
by dws (Chancellor) on Sep 25, 2001 at 22:55 UTC | |
Re: Taint with Perl on NT/IIS
by idnopheq (Chaplain) on Sep 25, 2001 at 22:38 UTC | |
(Ovid) Re: Taint with Perl on NT/IIS
by Ovid (Cardinal) on Sep 25, 2001 at 23:07 UTC | |
Re: Taint with Perl on NT/IIS
by Moonie (Friar) on Sep 25, 2001 at 23:02 UTC |