allow single file acess in htaccess code example
Example 1: htaccess deny access to a file
<Files "adminbar.php">
Order Allow,Deny
Deny from all
</Files>
Example 2: htaccess deny all but
order deny,allow
deny from all
allow from 69.69.69.69