I would like to develop a file sharing application with php, it will be able to let user to upload some docs to the web folder, and authorized user can download the file after login (the file type are doc, pdf).
However, how should I set the security mode for the file? if an unauthorized user know the path for an uploaded doc, he can simply type the link in the browser and get the file..so what should I do? Please help. Or it is impossible?
Should I implement it thru ftp..?
If so, how should I set? Please advise...