ECS:特定のバケットへのアクセスを1つのIPアドレスに対してのみ許可するバケット ポリシーを作成する方法。

Summary: このKB記事では、1つのIPアドレスに対してのみ特定のバケットへのアクセスを許可するバケット ポリシーを作成する方法について説明します。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

1.次のフォルダーでユーザー インターフェイスに接続します。 manage>Buckets>Edit>Edit Policyの詳細を確認してください。

manage>Buckets>Edit>Edit Policyでユーザー インターフェイスに接続します。

 

2.必要に応じてバケット名とIPアドレスを変更した後、以下のバケットポリシーを追加します。

{
  "Version": "2012-10-17",
  "Id": "null",
  "Statement": [
    {
      "Condition": {
        "NotIpAddress": {
          "aws:SourceIp": [
            "x.x.x.x"
          ]
        }
      },
      "Action": "s3:*",
      "Resource": "Islam-Bucketpolicy-test",
      "Effect": "Deny",
      "Principal": "*"
    }
  ]
}

3.バケット ポリシーをテストします。別のIPアドレスで試行された場合は、403エラーが発生するはずです。

Affected Products

ECS, ObjectScale
Article Properties
Article Number: 000311063
Article Type: How To
Last Modified: 26 Sept 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.