セキュリティ運用

Is any storage still set to “public”? Checking cloud storage and share links

“We created a share link just once, to hand files to the web agency.” That “just once” can still be alive years later. This article explains how a company without an IT department can find cloud storage that is still “public” (object storage such as S3, public folders on hosting, Google Drive and OneDrive), how to switch it back, and how to prevent it from happening again (as of November 8, 2026).

Home›Blog›Check public cloud storage settings
Published 2026-11-16 (updated 2026-11-08) | Category: セキュリティ運用 | HAYTECH SOLUTIONS
Key points
  • Storage left “public” and forgotten is an entry point separate from your website. Anyone can read it without logging in, through search or a forwarded link.
  • The three common cases are public settings on S3 and similar buckets, working files placed in a hosting public folder, and “anyone with the link” in Google Drive or OneDrive.
  • Three checks are enough to find them: the state of AWS Block Public Access, the external sharing settings and reports in the Google Workspace / Microsoft 365 admin console, and a question to your web agency.
  • Fixing means not only “stop the public access” but setting the organization default to “internal only”, so the next “just once” does not happen.
  • If personal data of more than 1,000 people was viewable, even a misconfiguration falls under mandatory reporting to Japan’s Personal Information Protection Commission.

“Public just once” stays public

Cloud storage is where files live. There are three main kinds. Object storage such as AWS S3 (for website images and backups), public folders on hosting such as a rented web server (the same place as the website files), and file sharing that employees use every day, such as Google Drive and OneDrive.

Each has legitimate reasons to be public. Website images do not display unless they are public. A share link is the quickest way to hand files to a web agency. The problem is that the setting is not reverted once public access is no longer needed. In our assessments we sometimes see quotations, customer lists, and database backups from years ago still sitting behind a link that anyone can open.

The Japanese Ministry of Internal Affairs and Communications’ “Guidelines for Appropriate Settings in Using and Providing Cloud Services” (October 2022) were written against a background of rising personal data leaks caused by cloud misconfiguration, and note that in IPA’s 2021 reports, misconfiguration was the cause of about 17.7% of unauthorized access, ranking third. A misconfiguration becomes a leak even without an attack.

Files inside a website that open without login if someone guesses the URL (backups, admin files and so on) are covered in a separate article. This article is about storage outside the website.

Three kinds of “public” and how to find each

KindHow it becomes publicHow to find it
Object storage such as S3A bucket (storage unit) policy or ACL says “anyone can read”In the AWS console, are all four account-level “Block Public Access” settings on? Does any bucket show a “Public” label?
Hosting public folderWorking files and archives are placed in the same folder as the websiteAsk your web agency “are there files in the public folder that the website does not need?” An external check also reveals them
Google Drive, OneDrive, SharePointAn “anyone with the link” / “Anyone” link is createdReview external sharing settings and sharing reports and logs in the admin console

S3: Block Public Access

According to AWS documentation, S3 Block Public Access consists of four settings and can be applied to access points, buckets, and an entire account. New buckets do not allow public access by default, but a bucket policy or permissions can be changed to make them public, so AWS recommends turning on all four settings for the whole account. To check, just ask your web agency or cloud maintenance company: “Are all four Block Public Access settings on for the account?”

Google Drive: external sharing settings

In the Google Workspace admin help, external sharing for the organization can be set to “On”, “Allowlisted domains”, or “Off”. With “Off”, external users lose access even to files previously shared with them. By default, files shared externally carry an “External” warning indicator, so employees can tell them apart on their own screens. Changes are said to take up to 24 hours to apply.

OneDrive and SharePoint: “Anyone” links

Microsoft’s documentation describes four levels of external sharing for SharePoint and OneDrive: “Anyone” (anyone with the link, no sign-in), “New and existing guests”, “Existing guests”, and “Only people in your organization”. Even when “Anyone” is allowed, links can be given an expiration (in days) or restricted to view only. You can also change the default link type that appears first when a user clicks share, from “Anyone” to “Specific people” or “People in your organization”.

How to fix: stop, revert, change the default

Fix what you find in this order.

  1. Stop: for anything that does not need to be public, remove sharing on the spot (for S3, fix the bucket policy and ACL and turn on Block Public Access; for Drive, set link sharing back to “Restricted”)
  2. Add conditions to what is needed: for files that must be shared externally, share with named people, or add an expiration and view-only restriction
  3. Change the default: set the organization default to “internal only” or “specific people”, and allow “anyone with the link” only for departments that need it
  4. Check the contents: record how long it was public and whether it contained personal data

The fourth step decides whether a report is required. Japan’s Personal Information Protection Commission gives, as an example of a case requiring a breach report, “a case where personal data became viewable on the internet due to a system misconfiguration or similar, and the number of individuals concerned exceeds 1,000”. The deadlines are a preliminary report within 3 to 5 days of discovery and a final report within 30 days (60 days where malicious intent is suspected). Even for a misconfiguration, and even if you do not know whether anyone actually looked, a “viewable state” can be enough to require reporting.

Before deleting files that were public, note the file names, type of contents, how long they were public, and access logs if available. Once deleted, you lose the evidence needed to decide whether a report is required.

A checklist you can run yourself

  • In your AWS or other cloud account, Block Public Access (all four settings) is on at the account level
  • Any bucket labeled “Public” is one the website genuinely needs
  • The hosting public folder contains no working files, archives, or backups
  • External sharing in Google Workspace / Microsoft 365 is “Off” or “allowlisted domains only”, or has warnings and expiration set
  • The default share link is “internal only” or “specific people”
  • An administrator reviews the list of externally shared files at least every six months
  • There is a rule to remove share links with web agencies and other vendors when a project ends

What to do, in order

  1. This week: ask your web agency and maintenance company “are all four Block Public Access settings on?” and “are there unnecessary files in the public folder?” Review external sharing settings in the Google Workspace / Microsoft 365 admin console
  2. This month: list externally shared files, remove what is not needed, and change what is needed to named recipients or expiring links. For anything that exposed personal data, record the period and number of records
  3. Next month: change the organization default to “internal only” or “specific people”, and decide which departments may use “anyone with the link”
  4. Every six months: review the list of external shares and public buckets. What is visible from outside the website can be checked with a free assessment
IT SUPPORT

Not sure what your own environment runs on?

With our Security & IT Support, you can hand over everything from inventorying the technologies and versions you use to checking them against vulnerability information, applying fixes and verifying after updates. It is a monthly subscription (quasi-mandate contract) of 5–15 hours a month from US$200/month, with Japanese-language support and only a 2-hour time difference from Japan.

Free consultation & inquiries

In a 30-minute online consultation, we’ll check together whether this article applies to your environment. A consultation alone is perfectly fine.

Contact us (free consultation)

You can also book a 30-minute online consultation with this form.

Please read our Privacy Policy before sending. We do not ask for your phone number.

Any IT question is welcome.
Feel free to get in touch.

Free 30-minute consultation ›Security maintenance details ›