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

1
  • What do you mean by "local"? Jan 10, 2013 at 23:39

1 Answer 1

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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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