Re: Is there a way to use external script with .htaccess for authentication?

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

 



The user will still have to login twice...
I'm sure it's possible.
I've seen at http://www.apacheweek.com/features/userauth the following quote:
"It is also possible to have an arbitrary external program check
whether the given username and password is valid (this could be used
to write an interface to check against any       other database or
authentication service)."
the question is how to do it...

2007/4/24, Joshua Slive <joshua@xxxxxxxx>:
On 4/24/07, Erez Segal <segalerez@xxxxxxxxx> wrote:
>
> I specifically wants to use my PHP authentication system, with .htaccess to
> protect folders.
>
> I would imagine something like:
> "|is_authorized.php" returning Allow/Deny inside the .htaccess
>
>  how can this be done?

Not like that, but you can use php for HTTP authentication directly:
http://www.php.net/features.http-auth

Joshua.

---------------------------------------------------------------------
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