Slide 5
Slide 5 text
ZF2 security in a nutshell
●
Organization of the code
– 1 public folder with redirect (.htaccess) and a single
front controller (index.php)
– configuration files outside the public folder, using
simple PHP arrays: *.global.php (not sensitive data),
and *.local.php (sensitive data, not in versioning
using .gitignore)
●
Filter input
– Validation of user's input (Zend\Validator)
– Filtering of user's input (Zend\Form, InputFilter)
– CAPTCHA