EvalAI icon indicating copy to clipboard operation
EvalAI copied to clipboard

Add download submission presigned url API

Open Ram81 opened this issue 3 years ago • 4 comments

Description

This PR

  • [x] Add presigned URL generation API for submission file download.

Merge after #3057

Ram81 avatar Oct 31 '20 11:10 Ram81

@RishabhJain2018 how do we want to authenticate this API request? If we use user token then each worker will need an auth token

Ram81 avatar Oct 31 '20 11:10 Ram81

@RishabhJain2018 how do we want to authenticate this API request? If we use user token then each worker will need an auth token

The ideal way would be to use challenge creator auth token but for that, we need to add an API token package (we discussed that earlier). Let's not block this feature with that.

RishabhJain2018 avatar Nov 01 '20 07:11 RishabhJain2018

@RishabhJain2018 then how do we handle authentication? If we remove authentication then anyone with submission id can get a presigned url. Or do you want to add submission file name as a request data param to make sure no one can get access to the file without the uuid?

Ram81 avatar Nov 01 '20 07:11 Ram81

@Ram81 Should we close this PR?

RishabhJain2018 avatar Jan 13 '22 00:01 RishabhJain2018