Please aid me in my untainted plight. I am trapped inside a piece of middleware, which embeds my Perl in HTML.
This means I can't do #!/usr/bin/perl -T
- yet my Perl takes variables from perfidious web users!
How can I switch on taint mode without using -T?
This node answers not my question (alas), and the Wise Dromedary remains silent (Chapter 23 of it does, anyway). As do the Fabled Oracles and the Secondary Sources.
I could taint my data using Taint.pm, but will this have any effect if I'm not in taint mode? Anyway, input I remember to taint will be input I remember to validate.
I could pass control to another script which was in taint mode, but that seems like overkill (and might be tricky with the middleware).
Any ideas?
If it's not possible, any alternatives?
Cheers,
andy.
(New to Perl, apologies if this is an obvious question)
In reply to A Quest for Taint by andye
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |