Order Allow,Deny 
Deny from all 
Options -Indexes
<Files "gallery.php">
allow from all
</Files> 