Pw protect public directory

I used to have this on my old host, password protection for my free graphics directory. In other words, they had to enter a user name and password ( given on the pre-entry page) before they could enter the download area. This prevented people from linking to images instead of downloading them to their own server… Now, how do I do that here at dreamhost???

Many thanks!

Check out htaccess in the panel. (it’s under goodies)