Systems architecture and security

A private file that becomes public in the cloud

Resource configuration and access permissions can expose documents without a sophisticated attack.

A private file that becomes public in the cloud

The discovery

An application stores internal documents in an object-storage container. After a configuration change, someone discovers that certain links allow files to be downloaded without authentication. There is no need to imagine a sophisticated attack to recognise the seriousness: a poorly defined permission can affect many documents at once.

Why it happens

Cloud infrastructure offers identity controls, policies, logging and encryption, but someone must configure them according to the service model. An account with broad privileges, a resource exposed by mistake or a temporary exception that was never revoked can expand the access surface. The precise responsibility depends on the functions performed by the supplier and the customer.

What needs to be established

It is not enough to state that the container ‘was public’. It matters since when, which paths or keys were affected, who could access them, which operations were possible and which records have been retained. The absence of downloads in an incomplete log does not necessarily prove that nobody accessed the data.

The subsequent review must look beyond the exposed resource. Inherited policies, service identities, signed links and deployment automation may explain why a manual correction disappears in the next update. If the error came from a template, other environments created from it must be located. A durable solution is not simply to mark a resource as private once, but to prevent an insecure configuration from being published again without review or alerts.

Containment and preservation

The first response usually aims to limit exposure and protect credentials, while documenting the observed state, changes and available records in parallel. A rushed investigation that overwrites configurations or deletes logs may make it impossible to reconstruct the sequence. Unnecessary copies of sensitive material should be avoided.

Privacy and continuity implications

If personal data are affected, there may be duties to assess, document and, where appropriate, notify under the GDPR. The analysis should not be reduced to volume: the nature of the data, possible recipients and plausible harm matter. Dependencies and automation that could reopen the resource should also be reviewed.

‘It is in the cloud’ does not determine whether something is protected. The verifiable question is who could access which resource, under what conditions, for what period and with what evidence.

How a shared link changes exposure

In a cloud service, a document may be private, visible to a team, accessible to any user in an organisation or shared through an open link. These options may look similar in an interface, but they create different exposures. The common mistake is not always a sophisticated attack: it may be enough to copy a link configured for public access and send it to an external person. Assessment begins by checking which permission the resource had and which identities could actually use it.

A junior technician should review inherited permissions, groups, service accounts and global storage policies. A file may inherit broad access from a folder or belong to a collaborative space whose configuration changed months earlier. Isolated checks of a single object are therefore not always sufficient: the rules for the folder, project and organisation must also be understood.

Detecting access is not the same as proving extraction

When a public permission is discovered, it is worth acting quickly to limit exposure. But a different question then arises: did anyone actually access the content? The answer depends on the available records, their scope and their retention. Some services distinguish opening, downloading, previewing and failed requests; others retain only administrative activity. The absence of a conclusive log does not prove that nobody viewed the file.

It is useful to preserve the configuration found, relevant events and the sequence of corrections before deleting information needed for the investigation. A permissions change may contain the risk without yet clarifying how long access lasted or which users were authorised. Communicating that uncertainty is better than declaring a confirmed breach or denying one without evidence.

Designing permissions that are easy to manage

Security improves when default options are cautious and broader permissions require a conscious decision. Clear labels, link expiry, periodic reviews and alerts about unusual exposure can reduce errors. Personal accounts should also be avoided for automation, and access should be reviewed after a team or supplier changes.

In practice, a good audit links the data classification to the need to share it. A public draft may need wide circulation; a file containing personal information does not. Technology should make that distinction possible without requiring users to understand the entire permissions architecture. If sharing correctly is excessively complicated, teams may resort to informal solutions that create new risks.

Reviews after team changes

Permissions do not remain justified forever. A project may end, a supplier may stop providing services or a folder may change purpose while retaining old permissions. Periodic reviews should therefore compare who has access with who currently needs it. This does not mean indiscriminately removing permissions: a correction must take account of automated processes and legitimate operations. A change record and a functionality test make it possible to remove privileges without interrupting services, while keeping clear who approved the access and under what conditions.

Further reading: OWASP · NIST Cybersecurity Framework 2.0