Page 1 of 1

Log query,Security

Posted: Wed Sep 10, 2008 5:26 am
by abalfazl
Hello!

Besides these, you benefit from logging queries either within your script or by the database itself, if it supports logging. Obviously, the logging is unable to prevent any harmful attempt, but it can be helpful to trace back which application has been circumvented. The log is not useful by itself, but through the information it contains. More detail is generally better than less.

http://php.hoxt.com/manual/en/security. ... ection.php

How Log query can improve security?

Re: Log query,Security

Posted: Wed Sep 10, 2008 10:25 am
by Darkzaelus
If SQL injection does happen, you can reverse it and learn from it, as in no perment damage. If you didn't have logging, you can't find out the weak areas of code.

Cheers, Darkzaelus