Page 1 of 1

PHP security & SQL security - how to avoid a PHP hack attack

Posted: Mon Oct 05, 2009 11:20 am
by rahulephp
Hi there,

I am new php programming but I have intend knowledge of PHP & mysql.

Before some days, I did notice that someone was tried to hack my website using SQL injection.

If you run a content website (no e-commerce) that uses php and a mysql database,
• What security programming measures can you take to ensure that someone doesn't hack / deface / erase your site and its data?
• What security programming measures can you take to ensure that someone doesn't hack / deface / erase your site and its data?
i don't think that all of the host's job.
• What are some typical mistakes that programmers do that leave themselves to hacking?
• What can a programmer do on the coding end?
• How can we avoid a php hack attack?

I think, Things like SQL Injection are worth looking into.

Can you please let me know about security with SQL injection?

Expecting good help from you & Thank you in anticipation.

Best Regards,
Rahulephp

Re: PHP security & SQL security - how to avoid a PHP hack attack

Posted: Tue Oct 06, 2009 12:56 am
by pcoder
Please search on the PHP- Security portion of this forum. I am sure , you will get lots of stuff regarding SQL Injection and other security stuff. :)