|
Posted by lvaro G. Vicario on 08/23/07 21:26
rogerjames1@googlemail.com escribió:
> Was going to use .htaccess but I'd require a better user management
> with MySQL database, registeration page, admin page, forgot password
> feature.
>
> Would coding a script that runs every minute and dumps user/pass to
> a .htpasswd file be too taxing on a high traffic site?
There're several modules that provide HTTP authentication in Apache. I'm
not sure of which ones are usually available in hosting services but
I've used mod_auth_mysql for several years and it works fine:
http://modauthmysql.sourceforge.net/
However, you must be aware that you won't be able to use a custom login
form if you use HTTP authentication. Even if you validate an user using
a form, the browser won't know about it and will open its own prompt and
ask for credentials. I've never found an acceptable workaround.
--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor austrohúngaro: http://www.demogracia.com
--
Navigation:
[Reply to this message]
|