It is currently Tue Sep 01, 2026 4:34 pm


password protected web pages

Help with Web Design, Programming, and Graphics

Moderator: Gecko

password protected web pages

Postby poisonedchalice » Wed Jul 21, 2004 10:53 am

hmmm, my previous post has been lost, floating round in cyber space somewhere....poor thing! lol

Anyhoo, html & javascript password protected pages.....I wanted to know how to link the password request page to the actual page that I needed to protect.
My previous post did get an a responce from someone who 'loves html' but I can't remember their name....sorry!!! If you're reading this, please post again!!!!!!!!! lol

I was told that the script I was using would simply look for the page with the same name as the password, ie if I had a page called secret.html then the password would be secret.
I want to know how the password script knows the difference between hidden pages and non hidden. If the main page is called welcome.html and obviously I wouldn't want it hidden, but if I entered 'welcome' into the password request, would it simply take me to the welcome page?

I'm not sure if any of this is making sense, but I haven't a clue what I'm talking about, so forgive me if I'm causing confusion! :lol:
And does anyone know where I can get a script for join/member log in, like the forum has, but without the numerical security!

Thanx

xxxxxxx
Suzii
poisonedchalice
Geek
Geek
 
Posts: 97
Joined: Mon May 03, 2004 1:00 am

Thanks given:0
Thanks received:0
Top

Postby Gecko » Wed Jul 21, 2004 12:15 pm

I remember your post in fact I wrote a nice reply but for some unknown reason even using the "[code]" tag I cannot post it here.
If you click on you can read the post and the code I have used in the past.

The code in the above link has an encryption for the login name and password and
will only forward to the protected page.
If the login or password is wrong then you will only get a popup stating the wrong login/password combination was used.

If you are looking for join and login pages like this site uses
then you will have to use server side programming like cgi, php or asp.
All of these are not recommended for a beginner.
User avatar
Gecko
Super Moderator
Super Moderator
 
Posts: 5209
Joined: Thu Oct 25, 2001 1:00 am
Location: Florida, USA

Thanks given:1
Thanks received:23
Top

Postby Limp » Wed Oct 20, 2004 7:43 pm

Hey Gecko... I followed the instuctions you layed out and made the pages and they work fine but ( hope this isnt too dumb of a question :oops: ) how do i set the login.html page to the protected page. Where does the link go?
User avatar
Limp
Senior Geek
Senior Geek
 
Posts: 379
Joined: Sat Mar 29, 2003 1:00 am
Location: USA

Thanks given:0
Thanks received:0
Top

Postby Limp » Wed Oct 20, 2004 7:51 pm

NM! I figured it out. Sometimes Im such a dumbass! well most of the time...hehe. window.location=password+".htm"}
DUHHHHH!!!! :lol:
User avatar
Limp
Senior Geek
Senior Geek
 
Posts: 379
Joined: Sat Mar 29, 2003 1:00 am
Location: USA

Thanks given:0
Thanks received:0
Top

Postby Limp » Thu Oct 21, 2004 5:08 am

That script worked out great Gecko! I got it all set up and then I encrypted
the html code in the password page with a free HTML encryption program. My buddy has been trying to hack into it for about 5 hours now with a brute force script he wrote. :cool:. Now the diffrence between Cgi, php ect is that your page can be hacked offline with java script ect and with PHP it has to be done online right? And with PhP you can ban IP's after so many attempts ect? I want to start learning more about it any pointers on where to look for info?
User avatar
Limp
Senior Geek
Senior Geek
 
Posts: 379
Joined: Sat Mar 29, 2003 1:00 am
Location: USA

Thanks given:0
Thanks received:0
Top

Postby Gecko » Thu Oct 21, 2004 11:43 am

Hi limp,

I’m glad the script work out for you and yes it is not easy to hack.
Below are a few links to get you started with PHP.

www.php.net
www.phpnuke.org
www.phpbuilder.com
User avatar
Gecko
Super Moderator
Super Moderator
 
Posts: 5209
Joined: Thu Oct 25, 2001 1:00 am
Location: Florida, USA

Thanks given:1
Thanks received:23
Top


Return to Web Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron