password protection
Hello, i am trying a new code that compares an entered password to a .txt file saved in a differnt location.
http://www.stuff.pissedandhappy.co.uk/password
I have been told that i need some javascript that will check the two passwords, can someone help me as to which javascript i need? (javascript was never my strong point)
The actual password protected part of the page is not important at all but i would like to encrypt the txt file later, and use this password more often.
Just a bit of fun really but i would really appreciate your help
cheers Peter
From the master of everything... Maybe
timjpriebe posted this at 15:04 — 16th December 2006.
He has: 2,667 posts
Joined: Dec 2004
Try the javascript here:
http://javascript.internet.com/forms/password-verifier.html
micklep posted this at 23:10 — 17th December 2006.
He has: 9 posts
Joined: Dec 2006
I know it isnt hard to hack, but once the text file has been encrypted then it will be alot harder. also i will encrypt the html in the page as to not show the link.
From the master of everything... Maybe
micklep posted this at 23:13 — 17th December 2006.
He has: 9 posts
Joined: Dec 2006
also, i have used the good old .ht access to password protect before i am currently using it here :admin1.pissedandhappy.co.uk but i find it un user freindly.
Also if i do one of these scripts then i can do a mailer to returna forggoten password
From the master of everything... Maybe
micklep posted this at 23:22 — 17th December 2006.
He has: 9 posts
Joined: Dec 2006
ok, ive had another plan, i am wanting a password box to compare a username and password to a standard windows database.
I Know that will need all of te nessacary .asp files, but then i would need to know the rest of the codes.
I am quite new to this as i am used to using password scripts that i have found on the internet, it has got to be said that trying to make your own is alot more fun
From the master of everything... Maybe
micklep posted this at 23:39 — 18th December 2006.
He has: 9 posts
Joined: Dec 2006
unforunatly my server does not support asp.
i think i am going to give up with this little plan
micklep posted this at 12:03 — 19th December 2006.
He has: 9 posts
Joined: Dec 2006
yes my host does support cgi, i currently use serveral that they allow you to make using a builder. The only reason i am trying to do this is to creat a more attractive log in for pissedandhappy.
BTW i created some little scripts (trying to learn javascript) in another post, basically they ae number gens and password gens. Tell me if you can find a use for them:
here is the password gen:
http://www.stuff.pissedandhappy.co.uk/password-gen.txt
and the number gen:
http://www.stuff.pissedandhappy.co.uk/numbergen.html
Just press refresh to get a new number.
Please tell me if you can find any use what so ever, so far my plan has been to use it for a user database, generating the numbers, it will then cross reference them.
From the master of everything... Maybe
micklep posted this at 19:21 — 19th December 2006.
He has: 9 posts
Joined: Dec 2006
i will do, i was thinking about combining the two scripts to creat half number half key, it would be one hell of a generator. Still though i dont think that there would be a use.
Can you not think of anything usefull for it at all?
From the master of everything... Maybe
micklep posted this at 19:57 — 20th December 2006.
He has: 9 posts
Joined: Dec 2006
sorry, not that technicaly minded
Busy posted this at 20:02 — 20th December 2006.
He has: 6,151 posts
Joined: May 2001
The downside to javascript is it can esily be turned off.
So you need to A/ fail it on js being off no matter what, B/ use server side to compare (you may need to change hosts if your host doesnt support asp/php), C/ use some other method.
While javascript can be handle for a lot of things, passwords/login etc should never just use javascript for the security aspect of it.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.