|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
If I have around 5000 registered users, when a user wants to log in, what is the best way to handle authorization -1. take username and password input and compare in the user table in mysql or 2. use the good old way .htaccess?
|
|
#2
|
|||
|
|||
|
I don't know if there is a best way URL
I PREFER to create users and groups to access certain areas of a site with .htaccess. Then I let php scripting include the login for the mySQL databases. This limits the users in the databse. I have not had a security problem doing it this way (yet). |
|
#3
|
|||
|
|||
|
The only thing to be aware of when using .htaccess for name/password protection:
Apache is NOT very efficient at searching for the name/pw combination. With very large groups you'd probably be better using a form based login and a RDB like MySQL for access verification. At 5000 users you're probably ok with .htaccess but much more than that... |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Log in required .. mysql or .htaccess?? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|