Follow

Guide to: Hosting Secure Images and Data

Important Note: As part of our ongoing integration with Appen branding, we have updated key web properties to the Appen domain. This change took place on April 16, 2020, so please keep in mind that referrer headers and bucket policies will need to be updated accordingly. Please see below for new Appen URLs.

Here are the best practices and key S3 features for keeping data secure:

  • HTTP Referrer headers:

    1. Are pieces of code that create a security policy and only allow certain users the ability to access a domain. For example, you can set restrictions to only allow people from an ‘appen.com’ domain to see the content in a bucket.
    2. Here are the HTTP referrer headers for Appen:
    3. To enable:
      1. Go to Permissions > Bucket Policy Screen_Shot_2020-01-13_at_4.14.37_PM.png
      2. Paste in the following policy: 
        {
        "Version": "2012-10-17",
        "Statement": [
        {
        "Sid": "AllowReadFromF8Apps",
        "Effect": "Allow",
        "Principal": {
        "AWS": "*"
        },
        "Action": "s3:GetObject",
        "Resource": "arn:aws:s3:::<yours3bucket>/<yours3folder>/*",
        "Condition": {
        "StringLike": {
        "aws:Referer": [
        "https://client.appen.com/*",
        "https://annotate.appen.com/*",
        "https://view.appen.io/*",
        "https://imagine.appen.com/*",
        "https://annotation.appen.com/*",
                                "https://ia.appen.com/*"
        ]
        }
        }
        }
        ]
        }
      3. Add following code with specific referrer headers you’d like to accept:
      4. "Condition": {

                                     "StringLike": {

                                     "aws:Referer": [

                                                 "http://test.com/*",

                                                 "http://www.test.com/*"

  • Keep the login credentials secure via password protected policy (ex. LastPass)

  • Enable expiring images and Data:

    • Go to “Management”
      1. Add lifecycle rule:Lifecycle_rule.jpg
      2. Enter a Rule Name:Screen_Shot_2017-10-09_at_4.42.06_PM.png
      3. Select the current version:Current_Verison.jpg
      4. In the current version, set expiration after x days:Screen_Shot_2017-10-09_at_4.42.25_PM.png
      5. Review, Save:
        Screen_Shot_2017-10-09_at_4.42.38_PM.png

 

 


Was this article helpful?
0 out of 3 found this helpful


Have more questions? Submit a request
Powered by Zendesk