Yes, you can use .htpasswd files in your account. Please ensure that you follow the correct security procedure and use the correct file permissions to prevent account compromise.
More information on .htpasswd can be found here:
http://www.htaccesstools.com/htpasswd-generator/