Protecting directories with htaccess is easy and comfortable. This tutorial shows how to protect single files only. more >>
<FilesMatch "file.html">
AuthName "Members Only"
AuthType Basic
AuthUserFile /absolute_path/to/PASSWORD_FILE
require valid-user
</FilesMatch>