Support S3 signed URLs for private buckets #141

Closed
opened 2020-04-18 09:31:50 +01:00 by aheathershaw · 1 comment
Owner

Provide a config setting on the S3 driver to decide whether to use a signed URL when creating links to photos.

This should be enabled by default on new storage locations using the driver, but disabled by default on existing ones.

When this option is enabled, uploaded images should use the "private" ACL, otherwise the "public-read" URL.

When this option is enabled, any URLs generated to photos should use the signed URL functionality of S3.

Provide a config setting on the S3 driver to decide whether to use a signed URL when creating links to photos. This should be enabled by default on new storage locations using the driver, but disabled by default on existing ones. When this option is enabled, uploaded images should use the "private" ACL, otherwise the "public-read" URL. When this option is enabled, any URLs generated to photos should use the signed URL functionality of S3.
aheathershaw added this to the Version 2.2.0-beta.2 milestone 2020-04-18 09:31:50 +01:00
aheathershaw added the
enhancement
label 2020-04-18 09:31:50 +01:00
aheathershaw self-assigned this 2020-04-18 09:31:50 +01:00
aheathershaw added the
wip
label 2020-04-18 21:46:23 +01:00
Author
Owner

This is completed with one small snag - the admin actions in the control panel force a cache buster when the image has been reloaded.

This is causing the signature to be invalid when the preview image is reloaded.

The application should return the actual URL to use for the admin panel to reload in the Javascript.

This is completed with one small snag - the admin actions in the control panel force a cache buster when the image has been reloaded. This is causing the signature to be invalid when the preview image is reloaded. The application should return the actual URL to use for the admin panel to reload in the Javascript.
aheathershaw removed the
wip
label 2020-04-19 15:49:26 +01:00
Sign in to join this conversation.
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: aheathershaw/blue-twilight#141
No description provided.