Require appropriate permissions to download

fixes #160