Preserved Topic: user authentication (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: under the bed |
posted 08-26-2003 00:09
I need a little direction. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 08-26-2003 00:18 |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 08-26-2003 00:29
.htaccess is simple and reliable. Plus, it presents the user with a log-in dialog that they might have seen before, so there's no confusion on their part. |
Maniac (V) Inmate From: under the bed |
posted 08-26-2003 00:41
I'm not overly concerned with security - we're not dealing with credit card information, or anything sensitive like that. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 08-26-2003 01:01
Username of currently logged user is stored in "REMOTE_USER" server environmental variable. For example, in PHP you can do the following: |
Maniac (V) Inmate From: under the bed |
posted 08-26-2003 01:05
Thanks Max =) |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 08-26-2003 13:24
on a side note, you shouldn't store the passwords on the server. |
Maniac (V) Inmate From: under the bed |
posted 08-26-2003 17:42
The passwords are currently store in a .htpasswd file. Someone suggested that would be the way to do it |