|
Posted by Joseph Melnick on 09/28/92 11:17
Hello Geoff,
This is definitely true.
JavaScript should only be used for the benefit of the client to provide
valid input.
Expect the unexpected. Any hacker can sent garbage data to your application.
Check input for length, type, range, format and remove garbage.
Get to understand Regular Expressions, They are your friend.
Write functions once that you can reuse to minimize your effort.
Joseph Melnick
JM Web Consultants
www.jphp.com
"Geoff Berrow" <blthecat@ckdog.co.uk> wrote in message
news:gjkl911jrn314kceakf3v8engts7bs3a0o@4ax.com...
>I noticed that Message-ID: <6Jnme.743$8m5.553@newsfe5-gui.ntli.net> from
> Brian contained the following:
>
>>Just for reference, you may want to look at adding some JavaScript to
>>your form that does some of the hard work for you, the form I have
>>been working on has something like 50 different queries that could be
>>made depending on what the user has sleeted, I found by using JavaScript
>>I could say if the user selects X then set Y to whatever. This way you
>>are only passing the info you really need.
>
> But you really should not rely on Javascript.
>
> --
> Geoff Berrow 0110001001101100010000000110
> 001101101011011001000110111101100111001011
> 100110001101101111001011100111010101101011
Navigation:
[Reply to this message]
|