Kullanıcının, A sayfasından B sayfasına geçerken, şifreyi yazmadan geçmesini engellemiş oluyorsunuz. Yani şifreyi yazmayan, diğer sayfaya geçemiyor.
kodun (-) yönü: sayfa kaynağını görüntülediğinizde, şifre gözüküyor. Bunu br şekilde gizlemelisiniz. Ben zeytech'den gizlemiştim
[Umarım verilmemiştir.]

<!-- TWO STEPS TO INSTALL MULTIPLE USERS:



1. Copy the first code into the HEAD of your HTML document

2. Put the last coding into the BODY of your HTML document -->



<!-- STEP ONE: Copy this code into the HEAD of your login HTML document -->



<HEAD>



<SCRIPT LANGUAGE="JavaScript">



<!-- This script and many more are available free online at -->

<!-- The JavaScript Source!! http://javascript.internet.com -->



<!-- Begin

function Login(){

var done=0;

var password=document.login.password.value;

password=password.toLowerCase();

if (password=="caliph") { window.location="http://sifreyi yazanin gidecegi adres"; done=1; }

if (password=="caliph") { window.location="page2.html"; done=1; }

if (password=="caliph") { window.location="page3.html"; done=1; }

if (done==0) { alert("Şifreyi Çözme Denemen Başarısız"); }

}

// End -->

</SCRIPT>



<!-- STEP TWO: Paste this code into the BODY of your HTML document -->



<BODY>



<center>

<form name=login>

<table width=225 border=1 cellpadding=3>

<Script Language='Javascript'>
<!-- HTML SIFRELEME -->
<!--
document.write(unescape('%3C%74%72%3E%3C%74%64%20%63%6F%6C%73%70%61%6E%3D%32%3E%3C%63%65%6E%74%65%72%3E%3C%62%3E%3C%61%20%68%72%65%66%3D%22%68%74%74%70%3A%2F%2F%77%77%77%2E%6E%65%64%65%73%65%6B%2E%6E%65%74%22%3E%4E%65%64%65%73%65%6B%2E%4E%65%74%3C%2F%61%3E%3C%2F%62%3E%3C%2F%63%65%6E%74%65%72%3E%3C%2F%74%64%3E%3C%2F%74%72%3E'));
//-->
</Script>



<tr><td>Parola:</td><td><input type=text name=password></td></tr>

<tr><td colspan=2 align=center><input type=button value="Sifreyi Dene" onClick="Login()"></td></tr>

</table>

</form>

</center>







<!-- Script Size: 1.60 KB -->