This page should
contains private content! You should not be able to browse to this
page...but get in through proper authentication.
You can place the
following VBScript code within all pages you want to secure, saved in the file
"login-challenge.asp":
***********************************************************
<!--#include
file="login-challenge.asp"-->
***********************************************************
|
<% If Request("USERNAME") <> "guest" Or Request("PASSWORD") <> "opensaysme" Then
Request.Redirect("index.asp?failedlogin=true&USERNAME="
& Request("USERNAME"))
End
If
Response.Write
Chr(13) %> |