Use case: A user has visited a site before and has a
cookie stored on his harddrive.
I want to be able to authentiate him through
mod_auth_mysql using that cookie.
The cookie gets sent with the http header and can be
extracted inside the module. The problem is to allow
the user to write sql queries insied .htaccess that
allow him to actually use that cookie info.
The cookie I want to use is pretty simple and looks like
I think the easiest way would be to allow the user to
enter a mysql query in freeform mode and let him use
the qualifiers specified in formats. Unfortunately my
C is pretty rusty (and was never good to start with...).
Motivation: I am a developer with the Drupal project.
This project currently has a way how to protect
uploaded files from unauthorized access, but it is a
bit clumsy. Of course there could be a php based
solution but I'd prefer an apache module.
I attache a file that contains my inital dabblings in