Ok I have a website for which I have already written a Mysql/php authentication system, but I need to find a way to tell apache_mod_auth that users authenticated with the php script are allowed to access files in certain restricted folders.
I know that php can pull mod_auth info, but I dont want mod auth to be my primary interface.
I know how to sync passwords between the two, but I dont want them to have to type in password info again to access the files.
I also know that php alone is not enough because I have no way of preventing non logged people from downloading www.mydomain.com/protecteddir/mydoc.pdf. Without preventing everyone that is.
In Short: I want a php script that can make users mod_auth authenticated.