[PHP_Password]                28/05/2012
==============

The original password protection file is to be found at http://www.zubrag.com/scripts/password-protect.php
where instructions to use/install are also found
                     ^^^^^^^^^^^
Procedure is as follows
 (i)  Put original file into webspace and run it with a help paramater e.g. password-protect.php?help.
      If you add a password only, make sure setting in line 58 is set to 'false' (to turn it off)
(ii)  Take the first line and add to first line of to-be-protected file (which you turn into a .php file)
(iii)  Add the user or user+password lines in the Settings section (Lines 47-72)
(iv)  MCH additions: Add line 135 to turn password into a hashed version (Whirlpool in error_log6.php)
 (v)  Rename file to something like error_log.php to help disguise its functions (to resist intrudors)
 (vi) Test file is: http://kesland.info/apache_pw.php (NB note .php extension). The original (on disk) is to be found at:
      F:\BackUpDriveH\ANCASTA\php_pass\sha1e.php

Various development versions (all in F:\BackUpDriveH\NOTETAB) as follows:
 error_log.php                Original version renamed from password-protect.php
 error_log2.php        User:mch_system pw:{Ducks!} added in
 error_log3.php        Version which uses password only (not user+password)
 error_log4.php        SHA1 version (Ducks!)
 error_log5.php        SHA1 version (Ducks! in words)
 error_log6.php        Whirlpool version (Ducks! in words)
 error_log7.php        Whirlpool version + salt (Ducks in words!)

USE this method if you suspect that javascript-protected version might not work
Use this password hashmaker:  http://ancasta.net/egg/sha1e.php
:

 

This page is created with TreePad