do not save file to local when URL is not in whitelist