In addition to Spike's suggestion, look to your web hosts FAQs and support
section for "password protected folders" or some other similar words, as
this server side function varies from host to host, and can depend on what
kind of server your site is on. If you are using a Windows based server, you
will not have a .htaccess file.
DavidF