I'm trying to create a system that will allow other people on my uni campus to download files from my computer via a nice PHP (I'll put a bit of AJAX in there, too) browser system. I want a username and password that I can give out, that'll expire in 30mins (I can do that, and a secure logon system), and I want people to browse my folders using a tree structure (I'm sure I could do that with a quick google).
However, due to the nature of the files, often ISOs and perhaps video files, I dont want anyone to be able to access, directly, my files. That's why I havent shared the folders, and left it at that.
I have 5 Hard Drives (C, F, K, M, P), and my WAMP server resides on C:, while the files reside on the other 4 hard drives. (Games, TV, Movies and Programs respectively). When a person requests a file, I want the PHP to somehow read it, and present it to them as a normal download, and they download it to their computer over the LAN. I also dont want to give away the names of my drives, or the filestructure, too much.
I dont know if I'm being very clear, but hopefully, you can see where I want to go. A PHP page to select a file from a given path on a computer, and then offer it as a normal HTTP download to a user.