PhpSecInfo Test Information
post_max_size
Test Description
Coming soon.
Security Implications
This protection allows you to limit the maximum size POST request that PHP will process. Attackers may attempt to send grossly oversized POST requests to exhaust your system resources; by setting a realistic value here you can mitigate some of the damage by those attacks.
Recommendations
You can set post_max_size in the php.ini file:
; Lower post_max_size for security reasons post_max_size = 256K
The setting can also be applied in apache's httpd.conf file, or an .htaccess file:
# Lower post_max_size for security reasons php_value post_max_size 256K


