Dynamic authentication realms in Apache

Posted by Cogsy on Server Fault See other posts from Server Fault or by Cogsy
Published on 2009-10-16T00:38:00Z Indexed on 2012/10/15 15:40 UTC
Read the original article Hit count: 191

Filed under:
|

I have a front end server acting as a gateway proxy for many (a dynamic 'many') building monitors with embedded webservers.

They are accessed with a URL like:

http://www.example.com/monitor1/
http://www.example.com/monitor2/
    ...

I'm trying to restrict access to these monitors to only the users that own them. So what I need is a way of specifying rights to users or groups for specific directories.

The standard auth mechanisms I see in Apache won't work because I need to specify every location. I'd prefer some dynamic map or script.

Any suggestions?

© Server Fault or respective owner

Related posts about apache2

Related posts about authentication