# Set restrictive permissions on log directories chmod 750 /var/log chmod 640 /var/log/*.log

Use files like .htaccess (Apache) or nginx.conf to block public access to .log , .conf , or .sql files.

Allintext Username Filetype Log Instant

# Set restrictive permissions on log directories chmod 750 /var/log chmod 640 /var/log/*.log

Use files like .htaccess (Apache) or nginx.conf to block public access to .log , .conf , or .sql files. Allintext Username Filetype Log