On my dev site I've tried adding the following code to the root htaccess file to deny "public" access to certain file types...
<FilesMatch "\.(bak|config|sql|fla|psd|ini|log|sh|inc|~|swp)$">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
My initial testing shows it works as I'd hoped, e.g. blocking access to install/uninstall SQL files. Has anyone considered or done anything similar and found issues that require removing some of the file type extensions?
TIA