Tags » Amazon S3

How to securely access a file in the application using s3 bucket URL

In my application we have to open some pdf files in a new tab on click of an icon using the direct s3 bucket url… 201 more words

Amazon-web-services

Transfer files from S3 to untrusted server via intermediary

I have two servers that have an encrypted line of communication between them. One of these devices I trust with my AWS credentials and it can access files on my S3 bucket via boto or aws cli etc. 180 more words

Amazon-web-services

Mai Retrospective

Mai is an app that I created with Jason, Brian, David, and John at our coding bootcamp. With Mai, you can post photos and share stories, much like Facebook and Instagram. 1,099 more words

Blog Posts

S3 signature does not match on getSignedUrl serverside node

I’m trying to put a video file to my bucket using a pre-signed url in angular4.

Node:

let s3 = new AWS.S3();
      s3.config.update({
        accessKeyId: process.env.VIDEO_ACCESS_KEY,
        secretAccessKey: process.env.VIDEO_SECRET_KEY
      })
      let videoId = await Video.createVideo()
      let params = {
        ACL: "public-read",
        Bucket: process.env.BUCKET_NAME,
        ContentType: 'video/mp4',
        Expires: 100,
        Key: req.jwt.username+"/"+videoId,
      }
      return s3.getSignedUrl('putObject', params, function (err, url) {
        if(!err) {
          console.log(url);
          res.status(200);
          res.json({
            url: url,
            reference: `${process.env.BUCKET_NAME}/${req.jwt.username}/${videoId}`,
            acl: params.ACL,
            bucket: params.Bucket,
            key: params.Key,
            contentType: params.ContentType,
          });
        } else {
          console.log(err);
          res.status(400);
          res.json({
            message: "Something went wrong"
          })
        }
      });
… 329 more words
Amazon-web-services

March 5 2018, Episode 399, Show Notes

Episode 399 of The CyberJungle is about 30 minutes long.  You may download the file directly – great for listening on many smartphones. Or, you may go to the  221 more words

Vulnerabilities

Apple now relies on Google Cloud Platform and Amazon S3 for iCloud data

It’s no secret, Apple has been relying on third-party cloud companies for iCloud. And CNBC spotted an interesting tidbit in Apple’s own documents. The company now relies on Amazon S3 and Google Cloud Platform’s storage product to store iCloud data. 239 more words

TC

Any way to get the cost per file on s3 or cloudfront?

I have a small static site hosted on s3, served through cloudfront. I’ve been trying to reduce the costs but now I’m at a point that I really just need to know which files are getting downloaded the most. 67 more words

Amazon-web-services