Log in

View Full Version : Passwords



Freeman
10-25-2005, 01:55 PM
When I make a page that has passwords with it does the page automatically save the new passwords when the people type them in or do I have to make a different page that does that. JF

mwinter
10-26-2005, 02:31 PM
When I make a page that has passwords with it [...]Care to explain what "a page that has passwords" is? Are you referring to an input element with the type attribute value 'password'?


does the page automatically save the new passwords when the people typeIf you are referring to password fields, the browser, not the page, can save the password value.

Mike

Freeman
10-26-2005, 02:37 PM
I would like to make a page where people can log in using there id and password. This is a rather large question, but where do I start with this? Thanks, JF

pjrey
10-26-2005, 02:53 PM
do you have access to your .htaccess file?
"
AuthType Basic

AuthName "for friends/pj only"

AuthUserFile "your/path/username.htpasswds/passwd"

require valid-user
RewriteEngine on
"
.htaccess
and .htpasswd

google them
there is TONs of info!

p

Freeman
10-26-2005, 03:16 PM
So it turns out that I have no idea what a .htaccess file is. Is there a site that you can build something like this? Thanks, JF

pjrey
10-26-2005, 09:46 PM
first off, where is your site hosted?
freebie-sites will most likely NOT let you create .htaccess files...

what .htaccess does is the following:
http://files.pjrey.com

you cant go there...
do you want something like this, if so, use htaccess

otherwise, if you are not a allowed to, there are plenty of other ways..
htaccess is the most secure though...

did you try googling htaccess and htpasswd?

you will find more than you can handle

pj

Twey
10-27-2005, 12:02 PM
There is a .ht(access|passwd) generator here (http://tools.dynamicdrive.com/password/).

Freeman
10-27-2005, 02:06 PM
Does the htaccess file have to be on the internet to be able to work or can I test it when its in a folder on my computer.

Twey
10-27-2005, 04:29 PM
It must be on a webserver. If you have one installed on your machine, you can test it locally.

pjrey
10-27-2005, 07:28 PM
http://www.ssi-developer.net/htaccess/htaccess_protection_simple.shtml

and

http://www.elated.com/tutorials/management/apache/password_protect/