I wouldn't put any passwords in any web accessible directory, period. Move them outside your web root; php can still access those files where a random web user can't.
I agree with above post fully, but if you really want to use .htaccess you can create a .htaccess file in the folder you don't want entry past that contains the following only