| PHP and the OWASP Top Ten Security Vulnerabilities |
| Source: Skylar - Posted by Benjamin D. Thomas | ||
|
Before you use values from the superglobal arrays, validate them to make sure they don't contain unexpected input. If you know what type of value you are expecting, make sure what you've got conforms to an expected format. For example, if you're expecting a US ZIP Code, make sure your value is either five digits or five digits, a hyphen, and four more digits (ZIP+4).
Read this full article at Skylar
Only registered users can write comments. Powered by AkoComment! |
||