[eluser]Christophe28[/eluser]
Hi,
I have a website where people can upload photos. At this moment all photos are
public. They are stored in the
/files/username/photo.jpg
I'm including the functionallity users can also upload
private photos. Is there a function to block requests if the photo is marked in the DB as private?
What I really want, if possible, is that all photos are behind the /public folder. For example in
/var/www/domain.com/files/ and that
/files/username/photo.jpg is just a fictional URL to request a photo.
Is this possible, any suggestions?
Best,
Christophe