ID:184119
 
I would like to create a site that will require passwords, however, I cannot find out any tutorials on how to make it so that the passwords are not in plain text but in some other medium.

I looked and I couldn't find any. Does anyone know of any good ones?
Learning PHP would be a good idea for this.
Shlaklava wrote:
I looked and I couldn't find any.

i don't believe you actually tried very hard. typing in 'password protecting a website in javascript' into Google, gave me these links, and more:

http://javascript.internet.com/passwords/
http://javascript.internet.com/passwords/login-coder.html
http://www.tashian.com/htmlguide/password.html
http://www.hypergurl.com/generators/passwordgenerator.html

for using PHP or .htaccess:
http://www.4webhelp.net/tutorials/misc/htaccess.php
http://php.resourceindex.com/Complete_Scripts/ User_Management/Password_Protection/

...just to name a few from the hundreds available. took me all of 30 seconds. the rest you'll have to learn to do yourself - we can't 'spoon-feed' you everything.

try again - google is your friend! learn to use wisely, and the world opens up to you.
In response to CaptFalcon33035 (#1)
CaptFalcon33035 wrote:
Learning PHP would be a good idea for this.

Yes, Php and Sql do wonders together.
In response to digitalmouse (#2)
digitalmouse wrote:
Shlaklava wrote:
I looked and I couldn't find any.

i don't believe you actually tried very hard. typing in 'password protecting a website in javascript' into Google, gave me these links, and more:

http://javascript.internet.com/passwords/
http://javascript.internet.com/passwords/login-coder.html
http://www.tashian.com/htmlguide/password.html
http://www.hypergurl.com/generators/passwordgenerator.html

for using PHP or .htaccess:
http://www.4webhelp.net/tutorials/misc/htaccess.php
http://php.resourceindex.com/Complete_Scripts/ User_Management/Password_Protection/

...just to name a few from the hundreds available. took me all of 30 seconds. the rest you'll have to learn to do yourself - we can't 'spoon-feed' you everything.

try again - google is your friend! learn to use wisely, and the world opens up to you.

I was using the keywords Online Security so I guess I have to get better in my game engines. I prefer not to use javascript because some people have it turned off.

Thank you for your help. I guess I have to get better at using google.
Shlaklava wrote:
I would like to create a site that will require passwords, however, I cannot find out any tutorials on how to make it so that the passwords are not in plain text but in some other medium.

I looked and I couldn't find any. Does anyone know of any good ones?

Generally passwords are stored via hashing them. There's lots of stuff about using md5 and maybe a salt to hash passwords, for example. Basically, you send the password through a one-way function (ex: something involving md5()) and compare the output of that function with what you have stored.