I'm using mod_auth_cas to authenticate users but I want to grant access based on a mysql select statement. What I'm imagining is being able to do something like this:
AuthType CAS <Limit GET POST> require user mysql:(select username from employee_table) </Limit>
I have quite a few web applications that use CAS authentication via mod_auth_cas but I'd like to limit access based on authorization data stored in mysql. Anyone done something similar or know a mod/config setup that can accomplish this?
my machines are all redhat 6 running apache 2.2.
Another option might be php if I can embed php within apache config, though that sounds really dirty.
[link][13 comments]