http://www.php.net/manual/en/security.php

Buon studio!