From 9ab330b90decf4edf152ff8e1d2948c065766b2c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 19 Oct 2022 10:43:53 +0200 Subject: Use private ACL for private videos in s3 --- config/default.yaml | 7 +++++-- config/production.yaml.example | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index f94ec6209..7753821da 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -148,8 +148,11 @@ object_storage: region: 'us-east-1' - # Set this ACL on each uploaded object - upload_acl: 'public-read' + upload_acl: + # Set this ACL on each uploaded object of public/unlisted videos + public: 'public-read' + # Set this ACL on each uploaded object of private/internal videos + private: 'private' credentials: # You can also use AWS_ACCESS_KEY_ID env variable diff --git a/config/production.yaml.example b/config/production.yaml.example index 48613e1c3..167d23af8 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -146,8 +146,11 @@ object_storage: region: 'us-east-1' - # Set this ACL on each uploaded object - upload_acl: 'public-read' + upload_acl: + # Set this ACL on each uploaded object of public/unlisted videos + public: 'public-read' + # Set this ACL on each uploaded object of private/internal videos + private: 'private' credentials: # You can also use AWS_ACCESS_KEY_ID env variable -- cgit v1.2.3