hello,
I have a problem, maybe a basic one, but a problem..
My WebSite sell images.
I don't want anonymous user to be able to access (and save) my images with an URL like http://mywebsite/images/myImage.gif
If users want to download an image, they must have an account, and must have paid for this image.
Then users can download it with an URL like http://mywebsite/download.php?id=12345
then my script check if this user has paid, read the file and create the good content-type with a "force-download" header.
the question is how I have to set the right of myImage.gif (740, 440?) and which linux user must be the owner of the file (nobody, apache ?)
Thanks very much
Miky