Hi. I've googled this to Hell and back. I'm running the latest install of Activestate Perl (5.8.7.813). Microsoft IIS (6.0) has been configured to recognize .pl and .plx extensions and run them with the Perl interpreter.

The problem is that I would like to run the Perl scripts in taint mode. Since this is not a Unix server, adding -T to the shebang line doesn't seem to work. Every tutorial page says to change the associations so that IIS runs taint mode Perl . . . but doesn't explain how to accomplish this.

I know how to change associations, rename extensions and such. However, what do I change the associated filename/path to? (For non-taint Perl, the filename/path is set to C:\Perl\bin\perl.exe "%s" %s. This path was set automagically during the Perl installation.)

Thank you for your help.
SithSasquatch

In reply to How do I use taint mode with Windows Server 2003? (Other than shebang line) by sithsasquatch

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.