it-at-m / digiwf-project

Project repo for the DigiWF project automation platform.
MIT License
10 stars 1 forks source link

Functionality to restrict file extensions #58

Closed xdoo closed 2 years ago

xdoo commented 2 years ago

You can restrict the file extensions on your S3 bucket via policy. This will not be provided by DigiWF.

If you'll use AWS see: https://aws.amazon.com/de/premiumsupport/knowledge-center/s3-allow-certain-file-types/

xdoo commented 2 years ago

@dominikhorn93

xdoo commented 2 years ago

This is something for our FAQ section. See it-at-m/digiwf-core#966

dominikhorn93 commented 2 years ago

@xdoo if we configure a file input to only allow .pdf files than that should be checked... Maybe there is a feature in the presigned url generator?

xdoo commented 2 years ago

@dominikhorn93

I don't see that. This is the fiel summary of "GetPresignedObjectUrlArgs":

image

Anyway - what is the requirement?

I think it should in most cases requirement 1 - I want exclusively pdfs in my bucket. So the solution must be a S3 functionality. In AWS this are policies.

So I don't see a reason for reopening :smile:

dominikhorn93 commented 2 years ago

So we have the following options: