Re: [users@httpd] .htaccess help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



PHP has this capability
http://us4.php.net/features.http-auth

Aman Raheja
http://www.techquotes.com

dan wrote:

Noel Stratton wrote:

Hello,
Is there a way to have .htaccess verify username and password from a mysql database? If not is there a way to password protect a directory with php. The reason I ask is that I would like if a user changes their password via php that when the users accesses the directory they could use the password
they changed to.

Thank You,
Noel Stratton
Computer Specialist
Members 1st Credit Union


Noel -

If you check out http://modules.apache.org and run a quick search for 'sql', you'll find several solutions that will suit your needs.

However, most of these solutions are a bit dated, as people are moving towards a more "friendly" approach which include a complete PHP/ASP/whatever-based front-end that takes care of all of this, as integrated into part of a content management system or some such.

Hope that helps
-dant

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux