For security purpose we recommended you to prevent access to your .htaccess file from unauthorized access.
Add this code to your .htaccess file:
# .htaccess protection
order allow,deny
deny from all
satisfy all
How to ban any IP Address via .htaccess?
If someone is trying to hack your website or you want to block their IP Address, you can add this...