isPrivateFile
as true
in the image upload request. The uploaded image within the Media Library would be marked as private. x-amz-meta-isprivatefile
as true
to mark the image as private. This documentation from AWS provides an overview of adding metadata to an object within S3.Is-Private-File
as true
within the server response to mark the image as private.