Jump to content

How to secure code & queries from mysql injections?


HungryMind

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...