At this site
, the following was written on March 25, 2006:
I have been reading up on web security and I am getting paranoid.
I operate under taint mode - although I must confess to being a little
in the dark as to what that means.
I am using the following code in order to filter input from a form.
$TEST =~ s/[^a-zA-Z0-9@\/.,: ]//g;
It works as expected but I am trying to make it as secure as possible
found that if a user enters '<SCRIPT>' into a form field it treats it
Java Code and it is not filtered. I assume that I could follow this wi
other code and do some harm. I need to avoid this security hole and ob
I could check for the word '<SCRIPT>' in STDIN.
Is there a better way of doing this and what other holes should I be a