Think about Loose Coupling | |
PerlMonks |
Re^3: How to safely define a CGI program's application base directoryby choroba (Cardinal) |
on Feb 10, 2013 at 22:37 UTC ( [id://1018077]=note: print w/replies, xml ) | Need Help?? |
What threat are you trying to avoid? It is upon you to tell what is safe. If you know there are three possible values, you can try something like
Someone can still tweak the config to point to a wrong path (valid for a different server). You can even include other conditions into the if, not only the single match.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|