Skip to content

fix: require a user token in the S3 storage unit - #430

Open
DaniilSmirnov wants to merge 1 commit into
VKCOM:developfrom
DaniilSmirnov:fix/storage-s3-auth
Open

DaniilSmirnov wants to merge 1 commit into
VKCOM:developfrom
DaniilSmirnov:fix/storage-s3-auth

Conversation

@DaniilSmirnov

Copy link
Copy Markdown

storage-s3 had no access check: anyone who could reach it could upload files to the bucket and read any stored file. It now runs accessTokenAuth on every request, like storage-temp, and takes --secret (stf local already passes it).

The unit exposes createApp, so its routes can be tested without S3.

storage-s3 had no access check: anyone who could reach it could upload
files to the bucket and read any stored file. It now runs accessTokenAuth
on every request, like storage-temp, and takes --secret (stf local already
passes it).

The unit exposes createApp, so its routes can be tested without S3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant