KB Article T728001
Visible to All Users

ASPxHtmlEditor - How to setup Amazon S3 bucket policy to allow image uploading

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:

  1. Go to the Permission tab for your bucket.
  2. 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.

Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.