With some tweaking the following will work:

client.srv.com has the file listings, makes an MD5 of the filename
plus a salt (random string, lets call it 123456) and writes the MD5 to
the disk of client.srv.com as /<filename>-123456.txt - then makes a
request to dload.srv.com as /dl.php/<filename>/salt

dload.srv.com/dl.php makes a request for the contents of
client.srv.com/<filename>-salt.txt and checks that the MD5 of
<filename> and salt match what was returned, if so serve the requested
file through php with the correct header('Content-...') details.

Use a cron job on client.srv.com to clear out the tmp files.

-Tig

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to