Add this to your .htaccess file (note that you need to have the full path to the .htpasswd file)
AuthUserFile /full/path/to/.htpasswd
AuthType Basic
AuthName "Authentication required"
Require valid-user
you can generate .htpasswd(password) from this website: http://www.htaccesstools.com/htpasswd-generator/