Reply to Re: Protecting a whole directory - PHP Authentication

Your name:

Reply:


Posted by burgermeister01@gmail.com on 08/23/07 18:08

On Aug 23, 1:00 pm, rogerjam...@googlemail.com wrote:
> On Aug 23, 6:42 pm, Erwin Moller
>
> <Since_humans_read_this_I_am_spammed_too_m...@spamyourself.com> wrote:
> > Hi,
>
> > If you use Apache, have a look at .htaccess.
> > Google around, many articles.
>
> > Regards,
> > Erwin Moller
>
> 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?

One thing you might think about is this: since .htaccess, .htpasswd
files are already in a fairly strict format, you can pretty easily
parse it, and simply update entries in the .hpasswd file when the
database updates. Basically, keep the .htpasswd file and the database
concurrent.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация