Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

share|improve this question
    
What do you mean by "local"? –  Lèse majesté Jan 10 '13 at 23:39
add comment

1 Answer

up vote 1 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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