You can configure a bucket policy to restrict access to a bucket for specific addresses. This example describes how to deny access from clients whose IP address is in the range of 114.115.1.0/24 to a bucket.
Parameter | Description | |
|---|---|---|
Configuration method | Choose Visual Editor. | |
Policy Name | Enter a custom policy name. | |
Policy content | Effect | Select Deny. |
Principal |
| |
Resources |
| |
Actions |
| |
Conditions |
| |
Initiate an access request from an IP address in the range of 114.115.1.0/24. The access is denied. Initiate an access request from an IP address beyond the range of 114.115.1.0/24. The access is allowed.