Is SQL injection a risk today?

前端 未结 20 2087
暗喜
暗喜 2020-12-05 13:25

I\'ve been reading about SQL injection attacks and how to avoid them, although I can never seem to make the \"awful\" examples given work, e.g. see this post

相关标签:
20条回答
  • 2020-12-05 14:09

    Quite the contrary. Magic quotes are deprecated in PHP5 and will be completely removed in PHP 5.4, as they brought more confusion to the programming world than they did good. Checking whether magic quotes are active, and escaping any SQL input scrupulously if necessary, is still very, very important... No reason to feel bad though, we've all been there, and my unknowing ass has been saved by magic quotes countless times :)

    The PHP manual on magic quotes explains everything.

    0 讨论(0)
  • 2020-12-05 14:11

    Not today yet, but it's only 20:34 UTC

    Guardian jobs database attack demonstrates difficulties of database security, 06 Nov 2009

    Guardian Jobs website hack may have been an SQL injection and not a 'sophisticated' attack, 27 Oct 2009

    0 讨论(0)
提交回复
热议问题