Discussion on:

3
Comments

Join the conversation!

Follow via:
RSS
Email Alert
0 Votes
+ -
Editor
The downloadable version of this article can be found here:
http://techrepublic.com.com/5138-3513-6078570.html

Are you validating user input in your Web applications (as you most definitely should be)?
0 Votes
+ -
Yup, and you are right
Jaqui Updated - 31st May 2006
Ever web app should validate user supplied input.
I would actually say take it a step further, and only for email address and website should input be processes as anything other than text.

If site user input cannot be used to pass sql or script commands then you have taken a huge step towards stopping the site from being cracked.
Naturally, doing this requires a complete separation of the database backend from the site front end, which it seems most developers concider to be to much work.
Now i am putting this as a input..

<script>
window.<nload=function ()
{
alert('welcome');
}
</script>
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.