I have been reading about tainting and form checking. I'm getting the hang of it but have no clue on what to do for a TEXTAREA field that can contain up to as much as 765 characters.
What can I Do about malicious hackers trying to submit some harmful coding through the textarea? The text typed in from the text area will be stored in a MySQL database also, which concerns me about this.
This memo may have anything in it-- characters such as ; - _ # @ ' " | \ etc. Basically any character is allowed. Therefore I have no clue how my regex should be?
What security measures can I do for such a field? The text typed will be stored in a MySQL MEDIUMTEXT field.