ECS: Sådan opretter du en bucket-politik, der kun tillader adgang til en bestemt bucket for én IP-adresse.
Summary: Denne vidensbaseartikel forklarer, hvordan du opretter en bucket-politik, der kun tillader adgang til en bestemt bucket for én IP-adresse.
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. Opret forbindelse til brugergrænsefladen under manage>Buckets>Edit>Edit Policy.

2. Når du har ændret bucket-navn og IP-adresse efter behov, skal du tilføje følgende bucket-politik .
{
"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. Test bucket-politikken. Der bør være 403 fejl, hvis der forsøges med en anden IP-adresse.
Affected Products
ECS, ObjectScaleArticle 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.