AWS Documentation
Amazon CloudFront
Developer Guide (API Version 2012-05-05)
Search:
Entire Site
AMIs
Articles & Tutorials
AWS Product Information
Case Studies
Customer Apps
Developer Tools
Documentation
Public Data Sets
Release Notes
Solution Providers
Sample Code & Libraries
Introduction to Amazon CloudFront
CloudFront Concepts
How CloudFront Delivers Content
Locations of CloudFront Edge Servers
Paying for CloudFront
CloudFront or Amazon S3?
Controlling User Access to Your AWS Account
Getting Started with CloudFront
Creating Download Distributions
Creating Streaming Distributions
Migrating from Amazon S3 to CloudFront
Working with Distributions
Changes to the CloudFront API
Overview of Download and Streaming Distributions
Actions on Distributions
Working with Download Distributions
Working with Streaming Distributions
Using Alternate Domain Names (CNAMEs)
Listing, Viewing, and Updating CloudFront Distributions
Deleting a Distribution
Working with Objects
Format of URLs for CloudFront Objects
Adding, Removing, or Replacing Objects in a Distribution
Adding Objects to a CloudFront Distribution
Updating Existing Objects Using Versioned Object Names
Updating Existing Objects Using the Same Object Names
Specifying How Long Objects Stay in a CloudFront Edge Cache (Object Expiration)
Invalidating Objects
How CloudFront Processes Partial Requests for an Object (Range GETs)
Specifying a Default Root Object (Download Distributions Only)
Serving Compressed Files
Restricting Access to Objects Based on the Geographic Location of End Users (Geoblocking)
Request and Response Behavior, and Supported HTTP Status Codes
Request and Response Behavior for Amazon S3 Origins
Request and Response Behavior, and Supported HTTP Status Codes for Custom Origins
Using a Signed URL to Serve Private Content
Overview of Private Content
How to Serve Private Content Using a Signed URL
Securing Your Content in Amazon S3
Restricting End User Access
Signature Code, Examples, and Tools
Create a URL Signature Using Perl
Create a URL Signature Using PHP
Create a URL Signature Using C# and the .NET Framework
Create a URL Signature Using Java
GUI Tools for Signature Generation
Creating Secure HTTPS Connections
Access Logs
General Usage Data
Troubleshooting
Making API Requests
Endpoints
AWS Support for Programming Languages
REST Requests
REST Responses
Authenticating REST Requests
CloudFront Tutorials
Live HTTP Streaming Using CloudFront and Adobe Flash Media Server 4.5
Overview of Live HTTP Streaming with Amazon Web Services
Creating an Amazon Web Services Account
Creating an Amazon EC2 Key Pair
Subscribing to Adobe Flash Media Server
Creating an AWS CloudFormation Stack for Live Streaming
Verifying that Adobe Flash Media Server Is Running
Setting Up Adobe Flash Media Live Encoder to Publish a Live Stream
Embedding Flash Media Playback for an Amazon CloudFront Live HTTP Stream in a Web Application
Deleting an AWS CloudFormation Stack for Live Streaming
Frequently Asked Questions
Additional Documentation
Live Smooth Streaming Using Amazon CloudFront and IIS Media Services 4.1
Overview of Live Smooth Streaming with Amazon Web Services
Creating an Amazon Web Services Account
Creating an Amazon EC2 Key Pair
Creating an AWS CloudFormation Stack for Live Smooth Streaming
Verifying that Your Amazon EC2 Windows Server Instance Is Running
Getting Your Windows Password
Encoding Your Live Stream
Viewing Your Live Smooth Stream
Deleting Your AWS CloudFormation Live Smooth Streaming Stack
Frequently Asked Questions
Additional Documentation
Restricting Access to Files in a CloudFront Distribution Based on Geographic Location (Geoblocking)
Overview of Restricting Access to Files in a CloudFront Distribution Based on Geographic Location
Creating an Amazon Web Services Account
Sample Code for Digital Element
Java Sample Code for Digital Element
.NET Sample Code for Digital Element
PHP Sample Code for Digital Element
Sample Code for MaxMind
Java Sample Code for MaxMind
PHP Sample Code for MaxMind
.NET Sample Code for MaxMind
Frequently Asked Questions
Additional Services and Documentation
Amazon CloudFront Resources
Where Do I Go from Here?
Document History
AWS Documentation
»
Amazon CloudFront
»
Developer Guide
»
CloudFront Tutorials
»
Restricting Access to Files in a CloudFront Distribution Based on Geographic Location (Geoblocking)
Did this page help you?
Yes
No
Tell us about it...
Restricting Access to Files in a CloudFront Distribution Based on Geographic Location (Geoblocking)
Topics
Overview of Restricting Access to Files in a CloudFront Distribution Based on Geographic Location
Creating an Amazon Web Services Account
Sample Code for Digital Element
Sample Code for MaxMind
Frequently Asked Questions
Additional Services and Documentation
Javascript is disabled or is unavailable in your browser.
To use the AWS Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.