HungryMind Posted July 5, 2011 Share Posted July 5, 2011 How to secure code & queries from mysql injections? Link to comment Share on other sites More sharing options...
boen_robot Posted July 5, 2011 Share Posted July 5, 2011 Why don't you do some searching? Every single article that explains what a MySQL injection is also tells how to deal with it. See this article for example. Getting quotes right is notoriously difficult, which is why many database interface languages provide a function that does it for you. When the same internal code is used for "string quoting" and "string parsing", it's much more likely that the process will be done properly and safely. Some examples are the MySQL function mysql_real_escape_string()We've also mentioned these things countless times on this forum. Link to comment Share on other sites More sharing options...
brucemand Posted July 6, 2011 Share Posted July 6, 2011 How to secure code & queries from mysql injections?by using mysql injections prevention measures."an eye for an eye" Link to comment Share on other sites More sharing options...
HungryMind Posted July 7, 2011 Author Share Posted July 7, 2011 Thanks for your replies friends.@boen_robot: Guidance is more important than just reading articles Roger Nice article you shared. It really helps. Thanks a lot. Link to comment Share on other sites More sharing options...
boen_robot Posted July 10, 2011 Share Posted July 10, 2011 Guidance is more important than just reading articles Roger Errr... Articles, tutorials and references are written for the purpose of guidance. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.