

# 限制对Amazon源的访问
<a name="private-content-restricting-access-to-origin"></a>

您可以通过可提供以下好处的方式配置 CloudFront 和某些 Amazon 源：
+ 限制对 Amazon 源的访问，使其无法供公开访问。
+ 确保查看者（用户）只能通过指定的 CloudFront 分配访问 Amazon 源中的内容。这可以防止查看者直接从源访问内容，或通过意外的 CloudFront 分配来访问内容。

为此，请将 CloudFront 配置为向 Amazon 源发送经过身份验证的请求，并将 Amazon 源配置为仅允许访问来自 CloudFront 的经过身份验证的请求。有关更多信息，请参阅以下主题，了解 Amazon 源的兼容类型。

**Topics**
+ [限制对 AWS Elemental MediaPackage v2 源的访问](private-content-restricting-access-to-mediapackage.md)
+ [限制对AWS Elemental MediaStore源的访问](private-content-restricting-access-to-mediastore.md)
+ [限制对 Amazon Lambda 函数 URL 源的访问](private-content-restricting-access-to-lambda.md)
+ [限制对 Amazon S3 源的访问](private-content-restricting-access-to-s3.md)
+ [通过 VPC 源限制访问](private-content-vpc-origins.md)
+ [限制对 Amazon S3 多区域接入点源的访问](private-content-restricting-access-to-s3-mrap.md)