Hi Guys,
I was wondering if you might be able to lend me a little of your expertise. I think that, apart from a few gaping holes in my knowledge, I am becoming a little more proficient in my use of PHP. But, I am still a little vague on security measures.
At the moment I am sanitising all user inputted data that is going to be entered into a database. I then use htmlentities when outputting this data. This (I think) should by an large prevent SQL injection and forms of XSS?
What I am unclear on is whether I need to employ such security methods in mailer forms? I currently use a captcha image so that users need to verify that they are in fact a person. But do I need to put anything else in place. Are they able to execute malicious code through this kind of form. Or would it be best practice to sanitise the data anyway?
Thanks in advance,