By default, Amazon bucket policy doesn't allow getting uploaded objects, which is necessary for ASPxHtmlEditor. If you wish to use it with ASPxHtmlEditor, change the bucket policy in the following way:
- Go to the Permission tab for your bucket.
- In the Bucket Policy, add the following statement:
XML{
"Statement":
{
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::<bucket-name>/*"
}
]
}
Maybe it's better to use the following generator to form the statement: AWS Policy Generator. You can read more about the bucket policy here: Specifying a Principal in a Policy. Note that Amazon may have some delay before applying a new policy.