Let's say I have a folder on my server called Stuff which contained a load of files (images/audio/applications) and I wanted Stuff to be secure enough to stop Joe Public from either (a) accessing the folder and (b) directly linking to any files in the folder.... but allowed PHP to access the folder and files for either streaming or downloading purposes.... how would I do it?
As an example this website page loads an image from a folder... but if you try to access the folder manually you are denied access...
The website page.... http://www.propellerheads.se/
The images (which can be linked to directly but I don't want this to be possible).... http://www.propellerheads.se/img/propellerhead.gif
The folder (denies you access)... http://www.propellerheads.se/img/
Any help would be great