<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>The Mandelbear&apos;s Musings</title>
  <link>https://mdlbear.dreamwidth.org/</link>
  <description>The Mandelbear&apos;s Musings - Dreamwidth Studios</description>
  <lastBuildDate>Fri, 24 Jan 2020 04:38:23 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>mdlbear</lj:journal>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/15740388/505737</url>
    <title>The Mandelbear&apos;s Musings</title>
    <link>https://mdlbear.dreamwidth.org/</link>
    <width>96</width>
    <height>96</height>
  </image>

<item>
  <guid isPermaLink='true'>https://mdlbear.dreamwidth.org/1705859.html</guid>
  <pubDate>Fri, 24 Jan 2020 04:38:23 GMT</pubDate>
  <title>Why, and How to, Secure your S3 Storage</title>
  <link>https://mdlbear.dreamwidth.org/1705859.html</link>
  <description>&lt;p&gt; If you&apos;ve ever looked into cloud storage (like for backups -- you
    &lt;em&gt;do&lt;/em&gt; make backups, right?) you will recognize Amazon&apos;s &lt;a href=&quot;https://en.wikipedia.org/wiki/Amazon_S3&quot;&gt; Simple Storage
    Service&lt;/a&gt;, otherwise known as S3.  It was the first of the &lt;a href=&quot;https://en.wikipedia.org/wiki/Timeline_of_Amazon_Web_Services&quot;&gt;Amazon Web Services&lt;/a&gt; to be released, in 2006.  It&apos;s cheap ($0.023 per
    GB per month for up to 50TB, after which you get a bit of a discount),
    &lt;em&gt;extremely&lt;/em&gt; reliable, and &lt;strong&gt;secure&lt;/strong&gt;.

&lt;p&gt; According to  &lt;a href=&quot;https://read.acloud.guru/how-to-secure-an-s3-bucket-7e2dbd34e81b&quot;&gt;this article on &quot;How to secure an Amazon S3 Bucket&quot;&lt;/a&gt;,
&lt;blockquote&gt;
  &lt;p&gt; Here’s what you need to know to lock down an Amazon S3 bucket:
  &lt;p&gt; Step one: &lt;strong&gt;do nothing.&lt;/strong&gt; [emphasis theirs]
  &lt;p&gt; Yes, do nothing because — like all other AWS services — the default
      configuration provides a strong security posture right out of the gate.
&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt; So when you create an S3 &quot;bucket&quot; (which is what they call the container
    you store your files in -- bits in a bucket?), only you can do anything
    with it.  After that, if necessary, you can give other people access.  Or
    open it up for everyone to see, for example if you want to host a website
    on it.  (There are better places to host a website.)

&lt;p&gt; If you&apos;re storing sensitive information like customer names and addresses,
    you can have Amazon encrypt it for you.  For &lt;em&gt;really&lt;/em&gt; sensitive
    things, like social security numbers and credit card information,
    &lt;em&gt;you&lt;/em&gt; can encrypt it on your end.  Amazon gives you some useful
    tools that make it easy.  But this post isn&apos;t a tutorial on S3 security --
    &lt;a href=&quot;https://aws.amazon.com/premiumsupport/knowledge-center/secure-s3-resources/&quot;&gt;Amazon has one right here&lt;/a&gt;.  This is, I don&apos;t know, kind of a &amp;lt;rant&amp;gt;.

&lt;p&gt; Because, in spite of the fact that &lt;em&gt;you have to do extra work&lt;/em&gt; to
    make a bucket public, I keep running into articles like &lt;cite&gt;&lt;a href=&quot;https://businessinsights.bitdefender.com/worst-amazon-breaches&quot;&gt;Leaky Buckets: 10 Worst Amazon S3 Breaches&lt;/a&gt;&lt;/cite&gt; and, more
     recently, &lt;cite&gt;&lt;a href=&quot;https://www.vpnmentor.com/blog/report-pussycash-leak/&quot;&gt;Adult Site
     Leaks Extremely Sensitive Data of Cam Models&lt;/a&gt;&lt;/cite&gt;.

&lt;p&gt; Yes, S3 buckets &lt;em&gt;can&lt;/em&gt; be used to exchange data with other companies
    or people -- if you&apos;re careful.  Encrypted.  Multiple times.  With
    strictly limited access.  And public buckets can be used for hosting media
    files and even whole (static) websites (although download bandwidth, while
    cheap, is not usually free -- a DDOS attack or suddenly going viral can
    saddle you with an appallingly high bill).  But for goodness&apos; sake
    &lt;strong&gt;don&apos;t confuse the two!&lt;/strong&gt;

&lt;p&gt; &amp;lt;/rant&amp;gt;

&lt;p&gt; Ask yourself these questions:

&lt;ol&gt;
  &lt;li&gt; Will I be absolutely delighted if a thousands of random people on FB
       saw this file I&apos;m storing?  If the answer is &quot;yes&quot;, make it public.
       Otherwise, consider making it private.
  &lt;li&gt; Will I have a &lt;em&gt;problem&lt;/em&gt; if certain people (my business competitors,
       my mother, my ex, ...) saw this file?  If so, you should make it
       private, and use at least server-side encryption.
  &lt;li&gt; Will I get in &lt;em&gt;trouble&lt;/em&gt; (lawsuits, identity theft, public
       shaming in blog posts like this one, ...)? Encrypt it.  Use client-side
       encryption if you want to be sure.  Encrypt the filenames, too. And
       &lt;em&gt;keep&lt;/em&gt; it encrypted when it&apos;s stored on &lt;em&gt;your&lt;/em&gt; computers,
       as well.  (In many cases there are government regulations that cover
       exactly how you should handle this data.  Some things shouldn&apos;t be
       stored at all, like credit card PINs.  But always encrypt.)
&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/ol&gt;

&lt;h3&gt;Resources&lt;/h3&gt;

&lt;p&gt; Here is the Amazon documentation for securing data on S3.  There&apos;s more,
    but these are the basics.
&lt;ul class=&quot;resource-list&quot;&gt;
&lt;li&gt; &lt;a href=&quot;https://aws.amazon.com/premiumsupport/knowledge-center/secure-s3-resources/&quot;&gt;Secure the Files in Your Amazon S3 Bucket - AWS&lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;https://docs.aws.amazon.com/AmazonS3/latest/dev/DataDurability.html&quot;&gt;Data Protection in Amazon S3 - Amazon Simple Storage Service&lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html&quot;&gt;Amazon S3 Default Encryption for S3 Buckets - Amazon Simple Storage
     Service&lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html&quot;&gt;Protecting Data Using Server-Side Encryption - Amazon Simple Storage
     Service&lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html&quot;&gt;Protecting Data Using Client-Side Encryption - Amazon Simple Storage Service&lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html&quot;&gt;Hosting a Static Website on Amazon S3 - Amazon Simple Storage
     Service&lt;/a&gt;
&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt; ... and here are a few other links, collected here for your
    convenience.
&lt;ul class=&quot;resource-list&quot;&gt;
&lt;li&gt; &lt;a href=&quot;https://read.acloud.guru/how-to-secure-an-s3-bucket-7e2dbd34e81b&quot;&gt;How to secure an Amazon S3 Bucket - A Cloud Guru&lt;/a&gt;
&lt;li&gt; &lt;a href=&quot;https://blog.rapid7.com/2018/12/14/securing-buckets-with-amazon-s3-block-public-access/&quot;&gt;Securing Amazon S3 Buckets with Amazon S3 Block Public Access&lt;/a&gt; 
&lt;li&gt; &lt;a href=&quot;https://www.vpnmentor.com/blog/report-pussycash-leak/&quot;&gt;Report: Adult Site Leaks Extremely Sensitive Data of Cam Models&lt;/a&gt; 
&lt;li&gt; &lt;a href=&quot;https://businessinsights.bitdefender.com/worst-amazon-breaches&quot;&gt;Leaky Buckets: 10 Worst Amazon S3 Breaches&lt;/a&gt; (2018)
&lt;li&gt; &lt;a href=&quot;https://en.wikipedia.org/wiki/Timeline_of_Amazon_Web_Services&quot;&gt;Timeline of Amazon Web Services - Wikipedia&lt;/a&gt;
&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;p class=&quot;colophon&quot;&gt; &lt;em&gt;Another fine post from
   &lt;a href=&quot;https://mdlbear.dreamwidth.org/tag/curmudgeon&quot;&gt;The Computer Curmudgeon&lt;/a&gt; (also at
   &lt;a href=&quot;https://computer-curmudgeon.com/&quot;&gt;computer-curmudgeon.com&lt;/a&gt;).&lt;br&gt;
   Donation buttons in &lt;a href=&quot;https://mdlbear.dreamwidth.org/&quot;&gt;profile&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=mdlbear&amp;ditemid=1705859&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://mdlbear.dreamwidth.org/1705859.html</comments>
  <category>computers</category>
  <category>curmudgeon</category>
  <category>s3</category>
  <category>encryption</category>
  <category>security</category>
  <category>aws</category>
  <lj:mood>didactic</lj:mood>
  <lj:security>public</lj:security>
  <lj:reply-count>2</lj:reply-count>
</item>
</channel>
</rss>
