There have been many occasions where password protecting a directory is the ultimate in web security. This can be used by clients to hide information that they do not want their public to know about or access, it can also be used to secure information for employees of a company.
Instead of writing a tutorial about this, I went to the "Net" and found a great web page resource that will actually create the password file for you...
Here is a quote from that page:
Password protecting a directory can be done several ways. Many people use PHP or ASP to verify users, but if you want to protect a directory of files or images (for example), that often isn't practical. Fortunately, Apache has a built-in method for protecting directories from prying eyes, using the .htaccess file.
In order to protect your chosen directory, you will first need to create an .htaccess file. This is the file that the server will check before allowing access to anything in the same directory. That's right, the .htaccess file belongs in the directory you are protecting, and you can have one in each of as many directories as you like.
The way the password protection works, if there is any page within that directory accessed, the users will be prompted to enter a username and password.
For more information about this: http://www.addedbytes.com/lab/password-protect-a-directory-with-htaccess/
Not only can DNS Technology Consultants, Inc. develop custom www solutions for you, but we have the expertise to help you with making computers work for you and you not work from computers.
We would like to welcome Bloomfield-Mespo Local Schools to our on-line family.
When I started this business over a decade ago, that was the comment I got about 7 out of 10 times when I tried to approach a business about doing a website for them. In fact, it was very hard in the beginning. A lot of people thought that the WWW was just a fad; it wouldn't last, or didn't even know what the Internet was. They didn't see the vision of the commercial aspect of the web, or even how future generations would surpass the Internet and go directly to retrieving their information from a cell phone instead of a computer.