By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,664 Members | 1,656 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,664 IT Pros & Developers. It's quick & easy.

mod_authn_db alternatives

P: n/a
I'm using a shared host. I want to have a directory for each user of
my site where they can download a file unique to them. I wanted to
use basic authentication, but learned that can be slow when number of
users reaches just a few hundred, and I plan to have a few thousand.

I read about the mod_authn_db* modules, how they are better for many
users. However my shared hosting provider doesn't let me use it.

What's a good alternative to mod_auth_db for having many users, and
letting them download one or more files from their account directory"

Mar 2 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Wesley Henwood wrote:
I'm using a shared host. I want to have a directory for each user of
my site where they can download a file unique to them. I wanted to
use basic authentication, but learned that can be slow when number of
users reaches just a few hundred, and I plan to have a few thousand.

I read about the mod_authn_db* modules, how they are better for many
users. However my shared hosting provider doesn't let me use it.

What's a good alternative to mod_auth_db for having many users, and
letting them download one or more files from their account directory"
This is nothing to do with PHP - other than the fact that you could
implement a solution using PHP.

The interesting things are all the things you haven't said.

These users - paying customers?
If not why are you jumping through hoops to provide them access to the
facilities you are paying for?
If so, then why are you relying on a ISP who can't accomodate your
requirements.

Why are you using Basic Authentication? This is not secure and you are
putting your users by using it. I can't believe that your ISP doesn't allow
digest authentication.

You are right that using dbm to store user information in scales much better
than text files - there are also modules which allow you to store
authentication information in LDAP, MySQL, Oracle and other databases too.

I suspect that there are already a large number of free PHP applications
that would meet your requirement - or could be easily adapted - try Google.

C.
Mar 2 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.