[nycphp-talk] Apache/PHP Authentication
CHUN-YIU LAM
chun_lam at hotmail.com
Fri Jan 17 21:12:55 EST 2003
try mod_auth_mysql
----Original Message Follows----
From: paul at weinberg.com
Reply-To: talk at nyphp.org
To: NYPHP Talk <talk at nyphp.org>
Subject: Re: [nycphp-talk] Apache/PHP Authentication
Date: Fri, 17 Jan 2003 11:13:55 -0500
Received: from mc3-f14.law16.hotmail.com ([65.54.236.149]) by
mc3-s13.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 17 Jan
2003 08:29:01 -0800
Received: from parsec.nyphp.org ([66.250.131.26]) by
mc3-f14.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 17 Jan
2003 08:28:05 -0800
Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by
parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id h0HGDt3P061860;Fri, 17 Jan
2003 11:13:55 -0500 (EST)(envelope-from listmaster at nyphp.org)
Message-Id: <200301171613.h0HGDt3P061860 at parsec.nyphp.org>
X-Paralist-Archived: <http://nyphp.org/list/paralist_archive.php?L_mid=2396>
X-List-Software: Paralist 0.6
List-ID: <nyphptalk.nyphp.org>
List-Owner: <mailto:listmaster at nyphp.org>
List-Archive: <http://nyphp.org/list/paralist_archive.php?L_lid=1>
List-Subscribe: <http://nyphp.org/list/>
List-Unsubscribe: <http://nyphp.org/list/>
Organization: New York PHP
X-Mailer: Paramail 0.5
Return-Path: listmaster at nyphp.org
X-OriginalArrivalTime: 17 Jan 2003 16:28:05.0782 (UTC)
FILETIME=[69DBAB60:01C2BE45]
Hi,
I'm certainly not an authority on the subject, but it
feels like you need to be at a lower level within
Apache then PHP will get you to.
I would try to use mod_perl to do this, in effect
writing an Apache module in perl.
good luck,
Paul
On Fri, 17 Jan 2003, "Griffith Feeney" wrote:
>
> I would like to use Apache authentication to password
> protect certain
> directories that contain mostly binary files. With
> 1600+ users, I don't
> want to authenticate against a text file, especially
as
> there is already a
> mysql database available for the purpose. The
> webhosting provider doesn't
> provide mod_auth.
>
> I'm thinking of using a PHP page to authenticate
> against the mysql database
> and, once a user is authenticated, have the PHP page
> send the server an
> htaccess user name and password. The latter would be
> changed from time to
> time, but would be the same for all users. High
> security is not required
> here.
>
> I've spent many hours reading around on the web on the
> subject, but don't
> find anything along these lines, and being a rank
> beginner in PHP, I don't
> want to spend time trying to implement this idea if it
> is unworkable.
>
> Does anybody know of an implementation, or have an
idea
> of whether or not
> this could be made to work? Thanks!
>
>
>
> --- Unsubscribe at <a
href="http://mail.weinberg.com/jump/http://nyphp.org/list">http://nyphp.org/list</a>/
---
--- Unsubscribe at http://nyphp.org/list/ ---
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
More information about the talk
mailing list