definately depends on how nuts you want to get with it. If you want to set up a FEW passwords (or just 1) then .htaccess is OK. But for managing large password lists, you need a script to handle it for you.
http://cgi.resourceindex.com
http://php.resourceindex.com
