in reply to Re^6: How to disable taint checking by Perl?
in thread How to disable taint checking by Perl?
The link you shared earlier stated:
By default, Perl automatically enables a set of special security checks, called taint mode, when it detects its program running with differing real and effective user or group IDs.
But, lest one think that this were the only criterion upon which taint would be invoked, look a little further down in that documentation and we see...
Support for taint checks adds an overhead to all Perl programs, whether or not you're using the taint features. Perl 5.18 introduced C preprocessor symbols that can be used to disable the taint features....and this is followed by some itemization of things that are not checked by default for taintedness, implying everything else is.
To my logical mind, those two statements don't quite add up. Why does taint need to have special ways of being disabled if it were not first engaged? If taint checks can be done on an explicit, variable basis, why the need to have special tools to disengage it?
Thus, I find the documentation to be ambiguous. Perhaps someone could help to rewrite that portion of the documentation to make clear exactly how much taint checking is made mandatory, and by which versions of Perl. A table would be nice. I like tables.
Blessings,
~Polyglot~
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: How to disable taint checking by Perl?
by hippo (Archbishop) on Oct 25, 2023 at 15:31 UTC | |
by Polyglot (Chaplain) on Oct 25, 2023 at 15:57 UTC | |
by hippo (Archbishop) on Oct 25, 2023 at 17:13 UTC | |
by Polyglot (Chaplain) on Oct 26, 2023 at 01:44 UTC | |
by Corion (Patriarch) on Oct 26, 2023 at 07:42 UTC | |
| |
by hippo (Archbishop) on Oct 26, 2023 at 09:02 UTC | |
by pryrt (Abbot) on Oct 26, 2023 at 14:46 UTC | |
| |
by Corion (Patriarch) on Oct 25, 2023 at 16:17 UTC | |
|
Re^8: How to disable taint checking by Perl?
by choroba (Cardinal) on Oct 25, 2023 at 15:16 UTC | |
|
Re^8: How to disable taint checking by Perl?
by hv (Prior) on Oct 25, 2023 at 15:47 UTC | |
by Polyglot (Chaplain) on Oct 25, 2023 at 16:14 UTC | |
by hv (Prior) on Oct 25, 2023 at 16:54 UTC |