[Catalyst] Authentication for web services (slightly off topic)
Carl Johnstone
catalyst at fadetoblack.me.uk
Wed Jan 23 16:26:50 GMT 2008
> I could use Apache Basic Authentication, but I would prefer to hold
> usernames passwords in a database rather than a htpasswd file.
I realise that you've been given an all-Cat solution for this however I just
want to point out that just because you're using Basic Auth in Apache,
doesn't mean that you have to hold the details in a htpasswd file. They've
separated the Basic Auth at the front-end from how the details are stored at
the back-end in Apache 2.2.
So you could use mod_auth_basic to handle the client-side, and mod_authn_dbd
to do the DB lookup.
http://httpd.apache.org/docs/2.2/howto/auth.html
Carl
More information about the Catalyst
mailing list