Not able to upload a private file into Amazon S3. with the following file system configuration:
Public file system path: s3://dh_public
Private file system path: s3://dh_private
Default download method: Amazon Simple Storage Service
Field upload destination: Private files.
Error: The file could not be uploaded (The file permissions could not be set on private://field/image)
Bucket has read and write permissions. After saving file config it automatically created folders dh_public and dh_private with proper ,htaccess file
If upload destination is Amazon S3 -- works fine but every one can see the file
Please let me know how to store private file in Amazon S3.
Thanks,
Ujwal P
Comment | File | Size | Author |
---|---|---|---|
File System.png | 146.84 KB | ujwalchowdary | |
Image Field Settings.png | 175.5 KB | ujwalchowdary | |
Error Screen.png | 165.29 KB | ujwalchowdary | |
Error Log.png | 166.61 KB | ujwalchowdary |
Comments
Comment #1
ujwalchowdary CreditAttribution: ujwalchowdary commentedComment #2
ujwalchowdary CreditAttribution: ujwalchowdary commenteds3fs is the best module to store both public and private files in amazon s3.
Comment #3
deviantintegral CreditAttribution: deviantintegral at Lullabot for NBCUniversal commented#1526848: Include an admin setting for uploaded files to have Private ACL
Comment #4
ujwalchowdary CreditAttribution: ujwalchowdary commentedThanks @deviantintegral, Helped me