# Admin folder protection
<FilesMatch "\.(php)$">
    Order deny,allow
    Deny from all
</FilesMatch>

<FilesMatch "\.(html|css|js|png|jpg|jpeg|gif|ico|svg)$">
    Order allow,deny
    Allow from all
</FilesMatch>

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^(java|curl|wget|python|libwww-perl) [NC]
RewriteRule .* - [F,L]