Password directories or files

I would like to post videos that my students made onto my web page. Due to various privacy laws, I have to restrict who can view the page.

Ideally the video.html page would prompt visitors for a password and that no one could download videos stored on the server without the password as well.

This page was somewhat helpful:
but I am concerned about what is says at the bottom about the password not being encrypted.

Is there a way to password protect an entire directory from within the DreamHost control panel?

Thanks for any help.

yes, there is. just check out .htaccess. It’s in the Panel > goodies > Htaccess/Webdac. I think that will accomplish exactly what you’re looking for.

–Matttail - personal website

Thanks, that was perfect!