Re: Bareword errors?
- From: Gunnar Hjalmarsson <noreply@xxxxxxxxx>
- Date: Sun, 03 Dec 2006 23:37:26 +0100
Sherm Pendley wrote:
Gunnar Hjalmarsson writes:krakle@xxxxxxxxx wrote:... it also does ZERO error and safety handling which makes it open to all sorts of future and present catastrophes.
<snip>
CGI.pm is the standard for parsing form data if you choose not to use it you are only limiting yourself and putting your web site, server and users at risk.
Another one who naively believes that using CGI.pm for parsing the input makes a significant difference as regards security.
It does not.
Gunnar, why do you persist with that straw-man argument?
It's not straw-man, it's both true and significant.
Pointing out the fact that CGI.pm securely parses CGI arguments does not imply a claim that doing so is all that's needed to securely write CGI applications.
1. He didn't just claim that CGI.pm makes a difference as regards security, he talked about "putting your web site, server and users at risk" if you choose to not use it.
2. My objection above does not include the message you indicate.
3. Still, my belief is that using such arguments for advocating the use of CGI.pm _does_ give the incorrect impression that you write significantly more secure CGI programs only by using it.
This whole "skilled developers can improve upon CGI.pm, and shouldn't be chastised for doing so" argument, while quite true, is irrelevant in this case because is in fact *not* such a developer.
While I don't defend everything the OP in this thread said, neither do I think that _anybody_ should be chastised for using a totally harmless piece of code.
Point out the value of code reuse through modules, fine, that's good advice. For god's sake, I'm also a module user (and author). I'm even using CGI.pm from time to time. :)
But try to relax, and let it stay with that. Try to believe that the readers of this group are grown-up people, who are capable of making their own decisions on programming style.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
.
- Follow-Ups:
- Re: Bareword errors?
- From: Sherm Pendley
- Re: Bareword errors?
- From: krakle
- Re: Bareword errors?
- References:
- Re: Bareword errors?
- From: krakle
- Re: Bareword errors?
- From: Gunnar Hjalmarsson
- Re: Bareword errors?
- From: Sherm Pendley
- Re: Bareword errors?
- Prev by Date: Re: Bareword errors?
- Next by Date: Re: why does this script not work?
- Previous by thread: Re: Bareword errors?
- Next by thread: Re: Bareword errors?
- Index(es):
Relevant Pages
|
|