Rajeev:

On Fri, Sep 30, 2011 at 11:26 PM, Rajeev Prasad <rp.ne...@yahoo.com> wrote:
> point of that email was not where validation should happen?? it
> was sent to find a solution(sample code) to the problem of
> collecting value of a multi.....  > > you missed the point,
> many people miss the point - it is common. Shawn's whole post
> was on 'where' to validate. Question was: how to colle.....
*snip*
> after i thought about it a bit more, i liked the suggestion of
> Octavian Rasnita(and also fish), please read his/her response.
> he understood the question (and his response was balanced).
> (again if u r curious more info:) I agree .js can be
> compromised, but this webpage is in trusted environment with
> extensive user-activity-logging.

I don't think that anybody missed the point. The appropriate
response had already been given: either use an existing module or
explain why you can't (and why you don't go and read about CGI
standards yourself; CGI is not Perl specific).

When I read your post the very first thing that I thought to
respond about was also the JavaScript validation. Everything else
had already been covered and relying on JavaScript validation is
never ok, even if you do have a "trusted environment". Validation
isn't just to defend against attacks from malicious users. It's
also to ensure data integrity and the correct operation of the
application. Just because I'm using a browser that doesn't
support JavaScript doesn't mean that I'm a malicious user.

In short, people were trying to help, and it's not very polite to
tell people that they aren't helping to your satisfaction. Based
on my own personal experience, I imagine that you are trying to
find the "easy button". For whatever reason you don't want to use
existing modules, but you apparently also don't want to go to the
trouble of learning to do it yourself. I'm afraid there rarely is
an easy button. The best help that people can reasonably give you
is to tell you to either use an existing module or RTFM... And I
don't say that to be mean. I know what it's like to just want to
get started being productive and instead be faced with an
overwhelming prerequisist task... It's not fun, but it is
unfortunately the way things go.

Regards,


-- 
Brandon McCaig <http://www.bamccaig.com/> <bamcc...@gmail.com>
V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl.
Castopulence Software <http://www.castopulence.org/> <bamcc...@castopulence.org>

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to