It is quite common to have the need to password protect a certain file or a set of files, in order to prevent unauthorized access to those files. There are many different alternatives on how to do this including, sessions, cookies, JavaScript and HTTP authentication. Peter shows you how to implement simple HTTP authentication.
Platform(s): Linux, Windows
Date: Jan, 22 2005
Author: Peter McNulty, http://www.phpnerds.com/article/securing-php-files-using-http-authentication