Search HouseOfScripts.com

 

All Scripts        JavaScripts        ASP Scripts        Other Scripts

 

  Very Simple Login Page asp, send, email, cdonts, link, recordset, hyper, hyperlink, create, list, box, dependant, dynamic

This script was provided to me by Xanni Wellando.

This JavaScript password protect's your site(s) (but it can only handle 1 password and 1 username at a time). Do not use it where you to have a need high security.

Note: Username and password are case sensitive.

This scrip should be placed to the HEAD section of your page.

<script language="JavaScript">

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

if (username !="username" || password !="password")

{ document.write("Bad Username and/or Password") }

< /script>

You can see how it works here. The username is username and the password is password.

 

 


Home       Scripts       Active WebTools       Web Templates       Forum       Tools        Hosting       Questions/Comments       Add/Request