Private S3 File Storage for File Pushes #2564
Unanswered
erikspigle-payroc
asked this question in
Q&A
Replies: 1 comment 3 replies
-
That CORS documentation applies to uploads only so that probably doesn't apply. As for Downloads, the base library in use supports a proxy mode where the application downloads the files from S3 behind the scenes and serves the files directly to public users. I may be able to make this configurable... A couple questions:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We run private S3 behind our firewall that isn't publicly available. I was able to test out using this as the backend storage for a pwpush instance that we stood up with success. Where all of the success ends is when doing file shares to the public given there is no line of sight to the S3 bucket as it is private and behind the firewall.
Is there not some way to have only the pwpush instance access and share out the file shares form an S3 bucket? Or will we have to be relegated to doing a local file share? Reading the following makes me feel this is by design but isn't helpful for any of us who may run private S3 buckets. Having a way to have pwpush solely access and present would be helpful.
https://docs.pwpush.com/docs/file-pushes/#cors-configuration
The application performs direct uploads from the browser to your Amazon S3 bucket. This provides better performance and reduces load on the application itself.
For this to work, you have to add a CORS configuration to your bucket.
This direct upload functionality is done using a library called ActiveStorage. For the full documentation on configuring CORS for ActiveStorage, see here.
Beta Was this translation helpful? Give feedback.
All reactions