The safest way to password protect your page via script, is through VBScript (and maybe JScript?) and have it encoded. VBScript pages can still be decoded but you'd have to do a bit of searching for something that'd do it.
_________________________
Domain Registration, Hosting, Management
http://www.dollardns.net