in apache you can control access to certain files on certain directories by having the following lines in your .htaccess file:
#denies access to all but the allowed IP (presumably yours)
#all other users will be redirected to the ErrorDocument
ErrorDocument 403 http://www.domain.com/errorpage.php
Order deny,allow
Deny from all
Allow from 76.117.227.192