Here is my thing. Let's assume I have a file
sampledomain.com/files/important.zip
Now. Registered user #1 (with IP: 23.122.34.116)
logs in. I want to display a link for him to download the file. (using PHP)
sampledomain.com/some_encrypted/_combo_based/_onIP_key.zip
(ex: 47jf/2340/2340924jf.zip)
Registered user #2 (with IP: 156.12.33.1)
logs in. I want to display a link for him to download the file.
(using PHP)
sampledomain.com/some_encrypted/_combo_based/_onIP_key.zip
(ex: 234d/6743/d7896sdfh.zip)
When either of them click their respective link. ReWrite appends the 3 pieces together (Ex for user #1: 47jf23402340924jf.zip), decodes (using IP as key) and then downloads the file (wihtout revealing the true path).
User #1 can't simply send a link to a friend to download the file because their IPs are different. File won't exist for Friend of User #1.
IP is really the maximum security I need. Nothing more. Just forces people to register to get a link to the file.
Hope I am clear. It's not easy to explain.
I am probably looking at this backwards.
C.
[edited by: NumberSix at 9:03 pm (utc) on May 30, 2011]