You can use the .htaccess feature via the DreamHost Control Panel here.
Pick the domain you require and select which folder to secure. If you leave the box empty it will apply to the whole site. You can change the realm name from Members Area if you wish and then input the username/password pairs you wish to use for each visitor.
Do not forget to click the correct box to ‘password protect the folder’!