Re: BIG WARNING - validation controls appear to be ignored.
From: Andy Fish (ajfish_at_blueyonder.co.uk)
Date: 02/26/05
- Previous message: Alan: "Re: OWA authentication via Login Page using ASP.Net"
- In reply to: IPGrunt: "Re: BIG WARNING - validation controls appear to be ignored."
- Next in thread: Lau Lei Cheong: "Re: BIG WARNING - validation controls appear to be ignored."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 26 Feb 2005 09:20:32 -0800
>
> You miss the point of his comment, which has nothing to do with the
> docs, and everything to do with not depending on validators to protect
> your backend data.
>
> That's called defense in depth, and is the practice of good
> programmers.
>
Just as a follow-up, the point of my original comment was not really
about relying on client-side validation. no programmer worth his salt
would ever do that deliberately.
My point was that the system as a whole (the framework and development
environment) did not "fail-safe". Without reading every word of the
documentation, I wrote and tested an application making what I
beleived to be a reasonable assumption about how it would work. When I
deployed it I found out by accident that it was relying on client side
validation. IMHO this would be worth a big caveat on every page
relating to the valiation, not just a single note.
Better still, I would have click-type events only fire if the form is
valid, unless the developer specifically overrides this behaviour.
- Previous message: Alan: "Re: OWA authentication via Login Page using ASP.Net"
- In reply to: IPGrunt: "Re: BIG WARNING - validation controls appear to be ignored."
- Next in thread: Lau Lei Cheong: "Re: BIG WARNING - validation controls appear to be ignored."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|