Manual Firewall Optimization (auto_prepend_file, php.ini)
-
After installing WF 7, I was prompted to optimize the firewall. My hosting is siteground, so I followed the directions found here for siteground: https://www.wordfence.com/help/firewall/optimizing-the-firewall/
Overnight, when Gravityscan checked out my site, it discovered that the php.ini file was publicly visible! Is this the best way to hide it? I hid the php.ini file by adding the following to my .htacess:
<Files php.ini>
Order allow,deny
Deny from all
</Files>Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Manual Firewall Optimization (auto_prepend_file, php.ini)’ is closed to new replies.