Security :: Implementing security for your blog/website 150 points.
Security is a tricky beast, but basically we do not want to make it easy for people to hack our sites. Specifically
if you have a form on your site; you probably at least want to make sure that users do not leave required fields
blank/empty, so we have to check for this in our form processing code.
Maybe something like this:
if(field == blank)
{
print "please fill out all fields";
}
else
{
// go ahead with form processing code.
}
There are many other security measures to worry about, specifically if we have forms on our sites, we do not want people to put code and/or scripts into those fields. So, again we would want to check for things like this, i.e. does a field contain a <?php tag? etc.