Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DotGeek:
PHP Security - SQL Injections
Jan 19, 2004 @ 14:04:57

Making forms in PHP is easy, even for the novice programmer, but there are hidden dangers that can befall you and your information if you're not careful with how you write your code. SQL injsections are one of the worst, and DotGeek.org is one your side with some new help.

In their latest article, Basic PHP Security[SQL INJECTION], they show you how to avoid SQL injections on the inputs for your site. SQL injections are holes in your site, via POST requests or similar, that can allow malicious users to return results they shouldn't be able to see. This short article gives an example of how a SQL injection might work and what you can do to prevent it.

SQL injections, if found in the logs for your site, can be quite a "reality check" for you and your data. However, it's always good to plug the holes before someone gets in and gets to the wrong information...

tagged:

Link:


Trending Topics: