right password is entered, but wonder if it's possible for search engines to bypass the protection by
indexing the hidden pages and linking directly to them
The pages are not linked to, nor do they contain links to other pages except possibly
files stored in the same folders.
This is the 'Enter Password' page. Save as 'gate.htm'. Open and enter '1234' then click ok:
Code: Select all
<html>
<head><title>Password</title>
</head>
<script language=JavaScript>
function load(page)
{
location=page+".htm"
}
</script>
<body text=#8080ff>
<form>
<br>
<center><h3>Enter Password:</h3>
<input name=edt type=password size=20>
<input name=btn type=button value=" O k " OnClick=load(this.form.edt.value)>
</form>
</body></html>
Code: Select all
<html>
<head><title>Inside</title>
</head>
<body text=#8080ff>
<br>
<center><h3>You're inside!</h3>
</body></html>


