This is it --
#<Location /members-area/*> AuthName "Members Area" AuthType basic AuthUserFile /home/your_id/foldername/.htpasswd Require valid-user #</Location>
Search for htacess folder protection to make the .htpasswd file. It's easy. Actually go here, it's pretty good!
PS, the above htaccess file was reformatted so it looks confusing. Go to that link and you'll see how it should look.