andymatuschak/Sparkle — Issue #150: Can the download url have authentication?
Author: applegrew
Created: 2012-02-15 03:54:12+00:00
State: open

I have a paid app which is available to users who are logged into the website. Is it possible to instruct Sparkle to present a login window to users when actually downloading the file? The credentials would be checked against the download url. The update feed though is available to anonymous users.

I am thinking on the lines - User selects update > Sparkle tries to download from the url in the feed > Instead it gets 401 error > Sparkle now understands that it needs to authenticate the user so it presents a login window as would any browser would do in this case > User enters credentials and submits > Sparkle responds to that url and if allowed downloads the file else presents the error to user as a browser would do in this circumstance.