Directory Protection

If you've ever wanted to create an area of your web site that's private to certain members only, or restrict the access to those with a certain password, you can create a special directory or folder within your site, called membersonly for instance, and add a couple special files that instruct our web server to only allow certain username/password combinations to view anything in that directory.