Hi all,
I want to create a filesystem with php and mysql where users can upload, download and very important, set file permissions.
I don't want to store the files in the mysql database because mysql doesn't store blobs seperately but creates one huge file of all the data.
So i want to store the images on disk. But how can i do this in a way that users can download files from the site when having the right permissions but prevent users from just typing the url to the file in the browser window.
In other words a directory where only php can send files to the client and not the webserver.
Any ideas?