Using .htacces to protect from hacks
-
Am thinking about implementing the following within .htaccess file placed at: /wp-admin/.htaccess
AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName “Access Control”
AuthType Basic
order deny,allow
deny from allI realise that the above currently blocks all access but will something like the above prevent most/all types of hacks
Is there a way of password protecting the access through the same .htaccess file. I was hoping to implement using a static IP address rather than a password but this is a no go.
Justin
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Using .htacces to protect from hacks’ is closed to new replies.