|
| |
|
|
wsgs
Posts: 7 Joined: 6/21/2002 From: Status: offline
|
log in page - 7/7/2002 12:57:30
I would like to have a member’s only page that requires a login & pswrd. I have heard of spooky. Is that the best route to go? My ISP does not support asp. Is that a problem? Does any one have any other options? Right now I just plan on having a single password. Some of the members… Well I wont go there. Thanks for any help.
|
|
|
|
Lydecker
Posts: 609 From: Oxshott, Surrey, England (UK) Status: offline
|
tRE: log in page - 7/7/2002 13:03:42
For spooky login, you unfortunatly need asp support. Your best bet would be to search for some javascript password protection scripts on the net.
< Message edited by Lydecker -- 7/6/2002 1:04:00 PM >
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: log in page - 7/7/2002 13:22:33
Sounds like your server is Unix/Linux? if so, use .htaccess. Take a look here: http://bignosebird.com/passwd.shtml
_____________________________
Gil Harvey, 1947-2004
|
|
|
|
wsgs
Posts: 7 Joined: 6/21/2002 From: Status: offline
|
RE: log in page - 7/7/2002 15:18:41
Thanks for the help, I have found some javascript that I can place Into the <HEAD> I have a couple questions. From home page to members page do I need a login\password page with This code to get me to the members page? Or place it in the <HEAD> of the members page. I tried a test and put it in the members page It did not look right. (Preview) Any suggestions?
|
|
|
|
Patti
Posts: 125 From: USA Status: offline
|
RE: log in page - 7/7/2002 15:50:11
Not sure which code you are using but I am going to assume that you put the code in the heading of the member page where they would actually log in but with out seeing the code I am not sure Patti
|
|
|
|
wsgs
Posts: 7 Joined: 6/21/2002 From: Status: offline
|
RE: log in page - 7/7/2002 16:22:12
Does This Help? <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 username=document.login.username.value; username=username.toLowerCase(); var password=document.login.password.value; password=password.toLowerCase(); if (username==" member1" && password==" password1" ) { window.location=" page1.html" ; done=1; } if (username==" member2" && password==" password2" ) { window.location=" page2.html" ; done=1; } if (username==" member3" && password==" password3" ) { window.location=" page3.html" ; done=1; } if (done==0) { alert(" Invalid login!" ); } } // 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> <tr><td colspan=2><center><font size=" +2" ><b>Members-Only Area!</b></font></center></td></tr> <tr><td>Username:</td><td><input type=text name=username></td></tr> <tr><td>Password:</td><td><input type=text name=password></td></tr> <tr><td colspan=2 align=center><input type=button value=" Login!" onClick=" Login()" ></td></tr> </table> </form> </center> <p><center> <font face=" arial, helvetica" size=" -2" >Free JavaScripts provided<br> by <a href=" http://javascriptsource.com" >The JavaScript Source</a></font> </center><p>
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: log in page - 7/7/2002 16:46:39
wsgs - You do realize that script will not actually provide any security don' t you? If some one want access they will simply turn off Javascript support and go directly to the page.
_____________________________
Gil Harvey, 1947-2004
|
|
|
|
wsgs
Posts: 7 Joined: 6/21/2002 From: Status: offline
|
RE: log in page - 7/7/2002 17:05:08
Yes, I do realize that. http://javascript.internet.com/passwords/ As they put it. These scripts all deal with JavaScript Password Protection scripts. They are an elementary attempt to protect a site and should NOT be used to protect Top Secret information. They just keep the amateurs out. Pros can infiltrate such sites with these forms of protection. But, for free, they do a good job. That is what I am looking for. I' m not trying to hide the cure for cancer. Just maybe a picture of Jenny’s first tooth.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|