How do I configure apache to only serve images for (certain) CGI clients?

Tamé

New member
Hi, I am at my mind's end for finding help with this one.

So I want to make a CGI script that will only allow serve certain images to certain users, through apache2. What I mean by this is those who have "logged in". This is akin to how a social networking site would only display photo albums to the owner or the owner's friend.

I only want to learn the basics of this method so I can learn apache better. But I do have a lil' project due so some knowledge on this would be appreciated! :] It would have to do with <Directory>'s I think - or .htaccess. I just don't know so that's why I ask.

Thank you in advance!
 
Back
Top