I'm working on WIN on IIS.
l'd like to manage some files (image/video) that can be uploaded and viewed only by users who have the permissions
I read (correct me if is wrong) that storing large files in a mysql db is inadvisable so I decided to store them in a folder and allow access to them only to users after php authorization
I'm not sure to how do that in a secure way, can you help me? Thanks
EDIT
path/ siteroot/ index.php
path/ files
I'd like that in folder "files" all users have writing permissions, but only the owner and his "friends" can read files written