<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Amazon CloudFront CFC</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2010/01/19/amazon-cloudfront-cfc/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.barneyb.com/barneyblog/2010/01/19/amazon-cloudfront-cfc/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<lastBuildDate>Thu, 11 Sep 2014 09:58:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: maria christensen</title>
		<link>https://www.barneyb.com/barneyblog/2010/01/19/amazon-cloudfront-cfc/comment-page-1/#comment-221548</link>
		<dc:creator>maria christensen</dc:creator>
		<pubDate>Mon, 27 Sep 2010 22:59:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1184#comment-221548</guid>
		<description>Thanks Ted, you saved me from getting crazy. I have been digging into this problem for two days.
/Maria</description>
		<content:encoded><![CDATA[<p>Thanks Ted, you saved me from getting crazy. I have been digging into this problem for two days.<br />
/Maria</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted Johnson</title>
		<link>https://www.barneyb.com/barneyblog/2010/01/19/amazon-cloudfront-cfc/comment-page-1/#comment-216606</link>
		<dc:creator>Ted Johnson</dc:creator>
		<pubDate>Mon, 26 Jul 2010 22:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1184#comment-216606</guid>
		<description>In case others run across the same problem, I have figured out what the deal is with making this work for RTMP (streaming) URLs. What you need to do is feed only the last part of the url, everything after &quot;cloudfront.net/cfx/st/&quot; into the function. This is not the case with HTTP (works to feed the function the entire URL).

So if your URL is:

rtmp://s17f59fd6dzkkt.cloudfront.net/cfx/st/folder/filename.mp4

You would call the function like this to make a signed URL:

cf.signUrlWithTimeout(&quot;folder/filename.mp4&quot;,9000)</description>
		<content:encoded><![CDATA[<p>In case others run across the same problem, I have figured out what the deal is with making this work for RTMP (streaming) URLs. What you need to do is feed only the last part of the url, everything after "cloudfront.net/cfx/st/" into the function. This is not the case with HTTP (works to feed the function the entire URL).</p>
<p>So if your URL is:</p>
<p>rtmp://s17f59fd6dzkkt.cloudfront.net/cfx/st/folder/filename.mp4</p>
<p>You would call the function like this to make a signed URL:</p>
<p>cf.signUrlWithTimeout("folder/filename.mp4&#8243;,9000)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted Johnson</title>
		<link>https://www.barneyb.com/barneyblog/2010/01/19/amazon-cloudfront-cfc/comment-page-1/#comment-216603</link>
		<dc:creator>Ted Johnson</dc:creator>
		<pubDate>Mon, 26 Jul 2010 21:41:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1184#comment-216603</guid>
		<description>Thanks. Has anyone tested this with streaming (RTMP) distributions? Working well with HTTP, but what I really want to use it for is to stream video via Amazon Cloudfront and not having luck getting the URLs to work. Is there anything special to do to get this to work for RTMP URLs?</description>
		<content:encoded><![CDATA[<p>Thanks. Has anyone tested this with streaming (RTMP) distributions? Working well with HTTP, but what I really want to use it for is to stream video via Amazon Cloudfront and not having luck getting the URLs to work. Is there anything special to do to get this to work for RTMP URLs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2010/01/19/amazon-cloudfront-cfc/comment-page-1/#comment-216601</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Mon, 26 Jul 2010 19:45:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1184#comment-216601</guid>
		<description>Again, check out the docs.  Amazon has create the concept of &quot;bucket ACLs&quot;, which allow you to specify the ACL at the bucket level, rather than the object level.  If your entire bucket should be access controlled in the same manner, this is exactly what you want.</description>
		<content:encoded><![CDATA[<p>Again, check out the docs.  Amazon has create the concept of "bucket ACLs", which allow you to specify the ACL at the bucket level, rather than the object level.  If your entire bucket should be access controlled in the same manner, this is exactly what you want.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted</title>
		<link>https://www.barneyb.com/barneyblog/2010/01/19/amazon-cloudfront-cfc/comment-page-1/#comment-216600</link>
		<dc:creator>Ted</dc:creator>
		<pubDate>Mon, 26 Jul 2010 19:43:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1184#comment-216600</guid>
		<description>For those people wondering how to make the special &quot;Origin Access ID&quot; user, the way I figured out how to do it is using the cloudberry tool. There are very clear instructions here:
http://blog.cloudberrylab.com/2009/11/managing-cloudfront-private-content.html

My question is, do I have to go mark every single file as having &quot;read&quot; permissions for this user, or is there some way to set it up to automatically grant these permissions for all future files uploaded to the S3? Right now, all I see how to do is to &quot;Edit ACL&quot; on one of the S3 tools and turn on &quot;read&quot; for this special user. That does make the file readable. But for someone with hundreds of virtual folders and files, it could be a real headache.</description>
		<content:encoded><![CDATA[<p>For those people wondering how to make the special "Origin Access ID" user, the way I figured out how to do it is using the cloudberry tool. There are very clear instructions here:<br />
<a href="http://blog.cloudberrylab.com/2009/11/managing-cloudfront-private-content.html" rel="nofollow">http://blog.cloudberrylab.com/2009/11/managing-cloudfront-private-content.html</a></p>
<p>My question is, do I have to go mark every single file as having "read" permissions for this user, or is there some way to set it up to automatically grant these permissions for all future files uploaded to the S3? Right now, all I see how to do is to "Edit ACL" on one of the S3 tools and turn on "read" for this special user. That does make the file readable. But for someone with hundreds of virtual folders and files, it could be a real headache.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2010/01/19/amazon-cloudfront-cfc/comment-page-1/#comment-216595</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Mon, 26 Jul 2010 18:00:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1184#comment-216595</guid>
		<description>Yes, exactly.  All the info you need is in the AWS docs, so that&#039;s the place to go look: http://aws.amazon.com/documentation/</description>
		<content:encoded><![CDATA[<p>Yes, exactly.  All the info you need is in the AWS docs, so that's the place to go look: <a href="http://aws.amazon.com/documentation/" rel="nofollow">http://aws.amazon.com/documentation/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted</title>
		<link>https://www.barneyb.com/barneyblog/2010/01/19/amazon-cloudfront-cfc/comment-page-1/#comment-216594</link>
		<dc:creator>Ted</dc:creator>
		<pubDate>Mon, 26 Jul 2010 17:58:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1184#comment-216594</guid>
		<description>Okay, so there is a &quot;cloudfront&quot; user I need to give access on the ACL? I don&#039;t see that user anywhere on the ACL using the Firefox S3 Manager., so I&#039;m guessing this is a user I need to create? (I assume &quot;cloudfront&quot; isn&#039;t the right name for it). If you can point me in the right direction, it would be very much appreciated.</description>
		<content:encoded><![CDATA[<p>Okay, so there is a "cloudfront" user I need to give access on the ACL? I don't see that user anywhere on the ACL using the Firefox S3 Manager., so I'm guessing this is a user I need to create? (I assume "cloudfront" isn't the right name for it). If you can point me in the right direction, it would be very much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted</title>
		<link>https://www.barneyb.com/barneyblog/2010/01/19/amazon-cloudfront-cfc/comment-page-1/#comment-216593</link>
		<dc:creator>Ted</dc:creator>
		<pubDate>Mon, 26 Jul 2010 17:56:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1184#comment-216593</guid>
		<description>Here is an example of an unprotected file I can access using cloudfront without a problem:

http://dltjymh90ljni.cloudfront.net/2010/January/Classes/Kristi/kristi_010510_shortfull_hd.mp4

I would think that suggests the bucket is set up correctly for cloudfront. I have also streamed the same file using RTMP (set up a different cloudfront URL for the same bucket for streaming).</description>
		<content:encoded><![CDATA[<p>Here is an example of an unprotected file I can access using cloudfront without a problem:</p>
<p><a href="http://dltjymh90ljni.cloudfront.net/2010/January/Classes/Kristi/kristi_010510_shortfull_hd.mp4" rel="nofollow">http://dltjymh90ljni.cloudfront.net/2010/January/Classes/Kristi/kristi_010510_shortfull_hd.mp4</a></p>
<p>I would think that suggests the bucket is set up correctly for cloudfront. I have also streamed the same file using RTMP (set up a different cloudfront URL for the same bucket for streaming).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2010/01/19/amazon-cloudfront-cfc/comment-page-1/#comment-216592</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Mon, 26 Jul 2010 17:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1184#comment-216592</guid>
		<description>You just found your answer.  CloudFront is doing just fine, it&#039;s S3 that is giving you &quot;access denied.&quot;  In order for CloudFront to front a protected S3 bucket, you have to configure the bucket to allow CloudFront access.  It&#039;s all spelled out on the AWS developer docs, but basically you just need to give the CloudFront principal read access to your bucket, otherwise the S3 security prevents CloudFront from accessing it.</description>
		<content:encoded><![CDATA[<p>You just found your answer.  CloudFront is doing just fine, it's S3 that is giving you "access denied."  In order for CloudFront to front a protected S3 bucket, you have to configure the bucket to allow CloudFront access.  It's all spelled out on the AWS developer docs, but basically you just need to give the CloudFront principal read access to your bucket, otherwise the S3 security prevents CloudFront from accessing it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted</title>
		<link>https://www.barneyb.com/barneyblog/2010/01/19/amazon-cloudfront-cfc/comment-page-1/#comment-216590</link>
		<dc:creator>Ted</dc:creator>
		<pubDate>Mon, 26 Jul 2010 17:53:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1184#comment-216590</guid>
		<description>If I change the ACL on the S3 for a file to &quot;Everyone = Read&quot; then I can get the file just fine via HTTP or RTMP using the cloudfront URLs. It&#039;s just when I try to protect the file that I run into problems.

When you say a &quot;configuration error somewhere&quot; what does that mean? There aren&#039;t exactly a whole lot of moving parts here!</description>
		<content:encoded><![CDATA[<p>If I change the ACL on the S3 for a file to "Everyone = Read" then I can get the file just fine via HTTP or RTMP using the cloudfront URLs. It's just when I try to protect the file that I run into problems.</p>
<p>When you say a "configuration error somewhere" what does that mean? There aren't exactly a whole lot of moving parts here!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
