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

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
rahulephp
Forum Commoner
Posts: 28
Joined: Mon Oct 05, 2009 11:05 am

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

Post 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
User avatar
pcoder
Forum Contributor
Posts: 230
Joined: Fri Nov 03, 2006 5:19 am

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

Post 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. :)
Post Reply