steelrose has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
A quick question - I'm going to institute a search script to search a single directory on a Website. It's just basically going to feed the contents of the text box into a regex: m/<contents>/;
Are there any red flags that might be security concerns that I should check for in the reg ex before feeding it into the match or no? I'd just rather ask and find out now than have something happen in the future that I didn't expect.
Thanks.
A quick question - I'm going to institute a search script to search a single directory on a Website. It's just basically going to feed the contents of the text box into a regex: m/<contents>/;
Are there any red flags that might be security concerns that I should check for in the reg ex before feeding it into the match or no? I'd just rather ask and find out now than have something happen in the future that I didn't expect.
Thanks.
If you give a man a fish he will eat for a day.
If you teach a man to fish he will buy an ugly hat.
If you talk about fish to a starving man, you're a consultant.
If you teach a man to fish he will buy an ugly hat.
If you talk about fish to a starving man, you're a consultant.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Site Search perlscript and security
by szbalint (Friar) on Nov 29, 2005 at 16:52 UTC | |
by Your Mother (Archbishop) on Nov 30, 2005 at 07:45 UTC | |
Re: Site Search perlscript and security
by hardburn (Abbot) on Nov 29, 2005 at 17:09 UTC | |
by steelrose (Scribe) on Nov 29, 2005 at 17:49 UTC | |
by BUU (Prior) on Nov 30, 2005 at 00:02 UTC | |
by steelrose (Scribe) on Nov 29, 2005 at 21:06 UTC | |
by hardburn (Abbot) on Nov 29, 2005 at 21:25 UTC | |
by steelrose (Scribe) on Nov 30, 2005 at 14:18 UTC |
Back to
Seekers of Perl Wisdom