1

I need to find a solution to allow a file download (It's an .exe file for an app update) only if the request comes from a desktop application and to block requests if they come from a web browser.

How to manage that? Thank you. Nina

  • What do you mean by "local"? – Lèse majesté Jan 10 '13 at 23:39
1

There's a few methods that you could use:

1) Download via the website but require a API Key, basically you could build a page in php that requires a key and the desktop applications contain that key.

2) You could host the file on FTP with username and password, and only have the applications with the username and password - this is by far the easiest way.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.