Restricting access to an online file

hey everyone,

i recently made a video for school and i wanted to show it to my friend who is in another state. i was planing on putting on my site, but not allowing people to access it without the proper password. anybody know how to do it?

#445234

you can use .htaccess file, or you could send it to him with youtube as a video message

#445525

xfactor thanks i needed that

#445535