Site hosted by Angelfire.com: Build your free website today!

Script Title: Password Protection

Description: Password protect your site!

Example: No example available for this script.

Credit: Script created by Dan Weidman

Download Script: Click here to download a .exe file of this script

Copy the following code into your HEAD tags.

<script language="JavaScript">
<!--

var username = prompt("Enter Username In the Box Below","")
var password = prompt("Enter Password In the Box Below","")

if (username !="USERNAME HERE" || password !="PASSWORD HERE")

{ top.location="about:Bad Username and/or Password" }
//-->
</script>