|
-
November 7th, 2003, 10:16 AM
#1
Password Protect
How secure is the following password code ? Can any one disabling the javascript access the page ?
<HEAD>
<SCRIPT language="JavaScript">
<!--hide
var password;
var pass1="cool";
password=prompt('Please enter your password to view this page!',' ');
if (password==pass1)
alert('Password Correct! Click OK to enter!');
else
{
window.location="http://www.yahoo.com";
}
//-->
</SCRIPT>
</HEAD>
Thanks
Dr_Evil
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|