Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Should have used S3 and a datetime-based access policy. Eg

  {
    "Version": "2012-10-17",
    "Statement": [
      {
        "Sid": "Statement1",
        "Effect": "Allow",
        "Action": [
          "s3:GetObject"
        ],
        "Resource": "arn:aws:s3:::obr-leaky-bucket/myfirst.pdf",
        "Condition": {
          "DateGreaterThan": {
            "aws:CurrentTime": "2025-11-26T12:30:00"
          }
        }
       }
    ]
  }


should've dug a hole for tomatoes with an excavator




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: