I am using mod-auth-token([url removed, login to view]) to protect my files. All these files located in a remote server. My main site need to get the encrypted link from remote server and show it to my users. Here is what I need:
I need a script to pass the filename variable from main site to remote server --> get the encrypted link from remote server --> show the download link in the main site.
As you can see in mod-auth-token page, they already got a php script to show the encrypted link. You can based on that script to modify.