You are here: Re: Using .htaccess for HTTP authentication. « All PHP « IT news, forums, messages
Re: Using .htaccess for HTTP authentication.

Posted by Adam on 04/04/06 07:59

In article <9j2u22tdn304qe0vft3bv9r7r2qkcu33hv@4ax.com>
Adam <adam@myemailaddress.is.invalid> wrote:

>I'm a PHP newbie, so bear with me while I try to make sense.
>
>I have a request from my friend to help him in using an .htaccess based
>security, which is already setup to protect a directory on the server
>(Red Hat Linux, Apache 1.3.33, PHP 4.3.10), and only allow authenticated
>users to read pages in that directory.
>
>I was trying to convince him to move to an MySQL/PHP session based
>authentication, but that is not possible currently, and is considered
>for the future.
>
>
>Basically he wants to force the authentication through a form that users
>can input their login information and checked against what they have
>already in .htaccess and if the information is correct they will be
>redirected to the page in the directory already protected by the
>.htaccess without the browser's login dialog box, and if the information
>is wrong then they would be asked to enter it again, without the
>browser's box.
>
>Can this be done?
>I've read all the HTTP authentication tutorials that I have found, and
>couldn't see something like this.
>
>I would appreciate any help or clues.
>
>Thank you.


Did I ask a stupid question or a boringly repeated one?
I would appreciate any pointers.

Thank you.

 

Navigation:

[Reply to this 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

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