---------------------------
Add this to .htaccess file
---------------------------
order deny,allow
deny from all
allow from xxx.xx.xx.xx
----------------------------------------
To allow multiple IPs use the following:
----------------------------------------
order deny,allow
deny from all
allow from xxx.xx.xx.xx
allow from xxx.xx.xx.xx