Here how can i display images stored in s3 where bucket is set as private in django
AWS_ACCESS_KEY_ID = 'XXX'
AWS_SECRET_ACCESS_KEY = 'XXX'
AWS_STORAGE_BUCKET_NAME = 'XXX'
AWS_DEFAULT_ACL = None
AWS_QUERYSTRING_AUTH = False
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
MEDIA_URL = 'https://mybucket.s3.amazonaws.com/'
in my template
<img src="{{ logo.url }}"alt="p" >
But I am not able to display the image in the front end
question from:https://stackoverflow.com/questions/65935904/display-images-when-aws-bucket-is-set-to-private-in-django