[Security] protect .user.ini files

interfasys

Verified User
Joined
Oct 31, 2003
Messages
1,824
Location
Switzerland
Just like .htaccess files, .user.ini files need to be protected so that they can't be read through the browser.
This needs to be added somewhere when PHP-FPM is turned on in CB.
Code:
#
# The following lines prevent ..user.ini files from being
# viewed by Web clients.
#
<Files ".user.ini">
    Require all denied
</Files>
 
Thank you for the report, it will be included into the next release of CB 2.0 :)
 
Back
Top