Hi guys,
I'm currently building a helpdesk system with tickets and stuff.
I want to add attachments to tickets. These attachments are stored in a web inaccessible folder called "attachments". In this folder, there is a folder for each ticket which holds the attachments.
The folder is protected by a .htaccess file.
I want to include an image from this folder in the webpage so that user can view the attachments. I don't want users to browse the images directly....
Now, when someone browses to the attachment, a "Forbidden" error is returned. I would like to keep this...
How can I do this ?