WordPress :.htaccess hacks
Allow only your IP adress on the wp-admin directory
Excepted the case of a collaborative blog, only you should be allowed to visit the wp-admin directory. If you have a static IP, this code will do the job.
All you have to do is to enter your static IP adress on line 8. Note that you can add more IPs if needed, by creating a new line with: allow from xx.xx.xxx.xx inside.
AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName “Example Access Control”
AuthType Basic
<LIMIT GET>
order deny,allow
deny from all
allow from xx.xx.xx.xx
</LIMIT>
NOTE:
this rule needs to be put into the .htaccess file in the wp-admin folder
Possibly Related Posts:
- Backtrack : TestDisk ( Digital forensics ,forensics analysis)
- LINUX : Control users loggin /etc/passwd file
- News : Hackers winning the security battle, says Cisco
- Security :OpenDNS – For Secure and Reliable Internet Surfing
- Security : JSKY – Free Vulnerability Scanner
