December 2010
Intermediate to advanced
363 pages
12h 21m
English
An important part of keeping your scripts secure is testing them for protection against possible vulnerabilities.
It is important to choose test values that can really break your application. These are often exactly the values that you aren't expecting, however. Therefore, selecting these values is a much more difficult task than it seems. The best test values are a comprehensive mix of random garbage and values that have caused other attempts at validation to fail, as well as values representing metacharacters or embedded commands that could be passed out of PHP to vulnerable systems.
In upcoming chapters we will provide examples of specific tests of protection against various specific threats.