Password directories or files


#1

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: http://www.htmlcodetutorial.com/forms/_INPUT_TYPE_PASSWORD.html
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.


#2

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
art.googlies.net - personal website


#3

Thanks, that was perfect!