Osii
Is it possible to have a full tutorial for amazon and cloudfront (with full security settings and cnames for phpfox)? The one in documentation is very poor..
Thanks.
Be the first person to like this.
Hi Osii, Currently, we haven't supported this feature yet. However, we have already planed to support it in the future. The detail information will be updated as soon as we have the official plan.
HI Robert, I have being using Amazon S3 app for a long time WITHOUT cloudfront URL added or enabled to it, now when I added cloud front, it will redirecting all image URLs to https:///cloudFrontURL/files instead of https://cloudFrontURL/files not sure if it is a bug or something wrong in my configuration. Any thoughts?
Be the first person to like this.
Robert
HI Robert, I have being using Amazon S3 app for a long time WITHOUT cloudfront URL added or enabled to it, now when I added cloud front, it will redirecting all image URLs to https:///cloudFrontURL/files instead of https://cloudFrontURL/files not sure if it is a bug or something wrong in my configuration. Any thoughts?
Did you try to add the protocol for your Cloudfont URL?, Such as: https://[your_cloudfront_url]
Be the first person to like this.
Did you try to add the protocol for your Cloudfont URL?, Such as:
https://[your_cloudfront_url]
Yes Robert.. protocol was added, I even tried appending a forward slash and tried creating a subdomain and/or CNAME, associated that with cloudfront as well.. no luck so far.
Be the first person to like this.
Robert
Yes Robert.. protocol was added, I even tried appending a forward slash and tried creating a subdomain and/or CNAME, associated that with cloudfront as well.. no luck so far.
Hi srny,
In this tutorial, we have a important note for "CloudFront URL", did you try it?
Be sure to check the setting "CloudFront URL". To know the "CloudFront URL", upload any files to root path of that bucket, click and view file information. You will see file URL, copy file URL (exclude file name) and paste to the CloudFront URL setting.
Hi srny, In this tutorial, we have a important note for "CloudFront URL", did you try it?
Hi Robert, The File URL I see in file information is S3 bucket URL and not CloudFront URL: https://s3.amazonaws.com//file/attachment/2015/12/0dad3665dc39e3500ee1c5fdda09bbf2.jpg However since I have setup CloudFront currently: when I use this browser: https://.cloudfront.net/file/attachment/2015/12/0dad3665dc39e3500ee1c5fdda09bbf2.jpg It opens up the file correctly in browser. Now, when I place this CloudFront URL: https://.cloudfront.net/ in "CloudFrontURL" setting of Amazon S3 App, it doesn't show the images. Let me know if you need any other details.
Be the first person to like this.
Hi srny, In this tutorial, we have a important note for "CloudFront URL", did you try it?
Just added the URLs in code as per community rules. Hi Robert, The File URL I see in file information is S3 bucket URL and not CloudFront URL: https://s3.amazonaws.com//file/attachment/2015/12/0dad3665dc39e3500ee1c5fdda09bbf2.jpg However since I have setup CloudFront currently: when I use this browser: https://.cloudfront.net/file/attachment/2015/12/0dad3665dc39e3500ee1c5fdda09bbf2.jpg It opens up the file correctly in browser. Now, when I place this CloudFront URL: https://.cloudfront.net/ in "CloudFrontURL" setting of Amazon S3 App, it doesn't show the images. Let me know if you need any other details.
Be the first person to like this.
Robert
Just added the URLs in code as per community rules. Hi Robert, The File URL I see in file information is S3 bucket URL and not CloudFront URL: https://s3.amazonaws.com//file/attachment/2015/12/0dad3665dc39e3500ee1c5fdda09bbf2.jpg However since I have setup CloudFront currently: when I use this browser: https://.cloudfront.net/file/attachment/2015/12/0dad3665dc39e3500ee1c5fdda09bbf2.jpg It opens up the file correctly in browser. Now, when I place this CloudFront URL: https://.cloudfront.net/ in "CloudFrontURL" setting of Amazon S3 App, it doesn't show the images. Let me know if you need any other details.
This mean you have already entered your Cloudfront url (https://.cloudfront.net) but the app still isn't working? Did you try to open browser console and get the error messages?
Be the first person to like this.
This mean you have already entered your Cloudfront url (https://.cloudfront.net) but the app still isn't working? Did you try to open browser console and get the error messages?
Yes Robert, I checked the console.. No errors but all images were pointing to: http://.com/.cloudfront.netfile/attachement/2015/12/0dad3665dc39e3500ee1c5fdda09bbf2.jpg Note that cloud front URL was appended to my domain and "file/../.." path didn't have backslash.
Be the first person to like this.
Robert
Yes Robert, I checked the console.. No errors but all images were pointing to: http://.com/.cloudfront.netfile/attachement/2015/12/0dad3665dc39e3500ee1c5fdda09bbf2.jpg Note that cloud front URL was appended to my domain and "file/../.." path didn't have backslash.
Hi srny, We cannot reproduce the issue on our testing sites but we can check your site for you, if you would submit a ticket .
Be the first person to like this.
Hi srny,
We cannot reproduce the issue on our testing sites but we can check your site for you, if you would submit a ticket .
Thanks Robert.. I submitted the ticket #754614
Be the first person to like this.
Osii
Hi Robert! Thanks for the answer.
Can you please make a best configuration guide for the files to be accessed from my domain only (Cloudfront or/and s3)? Each one, or both from bellow do you recommend?
1. Adding a expiration date - If i add this, and then decide to remove it, will i loose access to the files?;
2. Requests from my domain only - To prevent sending url to a third person without login to my site and overpass the privacy settings;
Thanks
Be the first person to like this.
Robert
Hi Robert! Thanks for the answer.
Can you please make a best configuration guide for the files to be accessed from my domain only (Cloudfront or/and s3)? Each one, or both from bellow do you recommend?
1. Adding a expiration date - If i add this, and then decide to remove it, will i loose access to the files?;
2. Requests from my domain only - To prevent sending url to a third person without login to my site and overpass the privacy settings;
Thanks
Hi Osii,
Our development team recommend you to use the solution #2 (Hotlink Protection). You can get more information at here to protect your amazon s3 files from hotlinking.
Be the first person to like this.
Osii

About amazon cdn: Since phpfox doesn't work with user, do we have to leave the bucket public (set everyone with read and write permission)? Isn't this a problem?

 

Thanks

Be the first person to like this.
Robert

About amazon cdn: Since phpfox doesn't work with user, do we have to leave the bucket public (set everyone with read and write permission)? Isn't this a problem?

 

Thanks

Hi Osii,

We can confirm with you that you don't need to set public for bucket that used in phpFox CDN app. You can set it private, when uploadding files to the bucket (via API key), we will set the privacy (everyone can read) for the files only.

Be the first person to like this.
Osii

Thanks.