authorize resource downloading