Well, how safe do you want it to be? An easy solution might be a small php script for verification of a password you distribute to the authorized users...
If you're on a unix/linux system, you could try a .authorize mechanism. Not the latest in terms of security, but reasonable..
Not sure if this helps but anyway....