Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
配置专用存储桶访问权限
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页面简要介绍专用存储桶访问权限,以及如何将其用于 Cloud CDN 的 Cloud Storage 存储桶。
对于 Cloud Storage 存储分区
为 Cloud CDN 后端存储桶实现专用存储桶访问权限后,存储桶中的内容只能通过 Cloud CDN 访问,而不能直接使用 Cloud Storage XML
API 路径样式端点或存储桶绑定主机名访问。
为防止直接访问您的专用
Cloud Storage 存储分区,Cloud Storage 使用 Identity and Access Management
权限,这有助于将访问权限限制为仅限 Cloud CDN
或 Cloud Load Balancing 流量 only
,而无需为此路由启用 签名网址 或
签名 Cookie。
如需为 Cloud Storage 配置专用存储桶访问权限,请按照以下说明操作:
创建 Cloud Storage 存储桶
将内容移到存储桶中
创建外部应用负载平衡器,将您的专用 Cloud Storage
存储桶连接到后端存储桶。
为您的服务账号启用访问权限
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-06-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2026-06-26。"],[],[]]