I'm wondering if anyone can point me in the right direction, I can't believe someone hasn't written something like this already.

I'm open on the interface but I would envision a php/mysql interface for maintaining users/passwords and (multiple paths) that generates htaccess files for them.

I imagine people do this all the time but I want to start making our journal publication available online.
I have the flip page style online magazine working but I need to make access control for the members for individual quarters/years.
I think I'll just drop them all in different directories and maintain a .htaccess file.

Thanks, ideas, criticisms (maybe this is stupid) welcome