Payments are experiencing issues due to temporary restrictions in Russia. If your payment does not go through, please submit a support request.Our support team is available 24/7 — we are always here to help with hosting and server issues.We are now accepting requests for dedicated server rental and colocation services in our data center.Reminder: we recommend enabling backups for additional data protection.A new VPS/VDS lineup with NVMe storage and improved performance is now available.Maintenance work on some servers has been completed. All services are operating normally.
Article7 min readViews1

Website Backup: Who Can Download Your Archive?

A closed file list does not mean a closed archive. We examine access boundaries for backups, role verification, and temporary link conditions.

Comments 0

A graphite portable drive next to a glass door with an electronic lock.
In this article

The backup directory does not open in a browser. Does this mean the site archive is protected? Not yet: the server may block directory listing while still serving a specific file to anyone who knows its address. Verification requires two separate checks: whether you can list the directory contents and whether you can retrieve the archive itself.

This analysis is useful for store owners and specialists performing backup acceptance testing. Here we verify copy confidentiality. A valid archive can restore a site yet remain accessible to outsiders. Recoverability does not confirm protection against unauthorized access.

An archive has its own access boundary

Consider a hypothetical scenario. Before updating the store, a specialist created an archive and temporarily left it among the site files. The menu has no links to the archive, the admin section requires a password, and directory browsing is disabled. These observations are reassuring, but none of them answer the question of whether the file can be downloaded.

The public catalog is a file system area from which the web server can serve content to visitors. A request for a standard static file does not necessarily pass through the store's authorization check. Therefore, the administrative password protects the archive only when the request for the archive actually falls under the corresponding access rule.

Nginx documentation describes serving static files and generating directory listings as separate mechanisms. Disabling the listing removes the ability to view names via the directory page. It does not imply a prohibition on requesting a specific file. The outcome is determined by the configuration handling that specific request.

A similar distinction exists in object storage: permission to view a list of objects and permission to read a selected object may be checked separately. The checker requires a result for a specific operation and a specific role. The phrase "folder is closed" is too vague for acceptance testing.

Two separate checks: a closed directory listing does not preclude serving a specific archive via a known address.
Hypothetical example. The result of a file request is determined by access rules for the file itself.

Why the absence of a link does not solve the problem

The address might have been saved in correspondence, a work log, or an old task. Moreover, a person who already has the address does not need site navigation. The absence of an item in the menu indicates an interface issue, not who the server will serve data to.

An unusual archive name may hinder accidental discovery, but revealing the name does not trigger additional authorization checks. For a sensitive copy, the question is more specific: what stops the download if the address is already known to an outsider?

Archives often consolidate in one location what is separated on a live site: source code, configuration files, and database dumps. OWASP separately treats forgotten backup files as a source of internal information disclosure. The contents depend on the backup task; one cannot automatically assume any archive contains passwords or all customer data. However, determining its contents should be done in a permitted closed environment, not by sending it to a random online service.

What to request during verification

Start with a list of storage locations compiled by the person responsible for backups. This includes not only primary copies but also temporary archives for transfers, database dumps, and copies handed to contractors. For each location, specify its purpose, retention period, authorized recipients, and delivery method. Access secrets themselves are not included in this list.

Next, a small verification matrix is useful. For a known archive, compare the results without authentication, under a standard user account, and under an authorized backup operator role. If temporary links are used, they require a separate scenario. The check must answer questions about the permissions of each role, not merely confirm that an administrator could download the file.

  • The archive is not issued to anyone for whom access was not provided; the specific address, final response, and actual download behavior have been verified.

  • An authorized operator can obtain the required copy through standard means; the protection did not make recovery organizationally impossible.

  • The verification time, role, and result boundaries are specified: which copies and delivery methods were actually verified.

A single response code without context is insufficient. Instead of an archive, a login page or an error message may appear. Conversely, checking a catalog page reveals nothing about the issuance of a known file. A responsible specialist correlates the observation with web server or storage rules. To demonstrate the mechanism on a test stand, a synthetic file without production data is sufficient; such a demonstration alone does not prove the security of the production copy.

Every defined access path must be checked. If the archive is delivered via a separate service, the result of checking the main domain does not cover that service. Acceptance testing must list actual delivery points, not assume that one restriction automatically applies to the entire infrastructure.

A temporary link also grants access rights.

In a private storage, a signed link is sometimes created to transfer a single file for a limited time. This can be a standard exchange method. However, the lack of public access to the object does not mean that the holder of a valid link must additionally log in to an account.

For example, Amazon S3 documentation describes such a link as an access right for whoever holds it, within the permissions and limitations of the signature. The link can be used multiple times until it expires, provided other access conditions remain unchanged. Therefore, the word "temporary" is not equivalent to "one-time," and forwarding the link can expand the circle of actual recipients.

To transfer a copy, the recipient, the specific object, the allowed operation, and the term are agreed upon in advance. The address itself is protected as a temporary secret: it is not placed in a public report nor attached to a task with an excessive circle of readers. The possibility of early termination of access and its consequences are verified via the mechanism of the selected service.

There is another boundary to the term. In Amazon S3, downloading a file from storage to the recipient's device, started before the link expires, may continue after it expires. The already downloaded file remains with the recipient. Limiting the time for a new request does not control all copies that appeared earlier. For other storage systems, these conditions must be checked separately.

The readiness criterion is a verifiable rule

It is more convenient to accept protection based on a concise statement: "Such-and-such role receives this copy via such-and-such mechanism; other verified roles do not receive it." The statement must include the date, the scope of verification, and confirmation without archive contents or secret links. This allows another specialist to understand what is installed and what still requires verification.

If an unknown role gains access, this is grounds to transfer the situation to the security officer and restrict further issuance according to an agreed procedure. The mere fact of availability does not prove that an outsider has already downloaded the archive; the absence of a noticeable download record also does not automatically rule out a leak. Drawing a conclusion requires the composition of the copy, the period of availability, and available evidence.

After changing the storage location, transfer method, or web server rules, the previous confirmation should be reviewed. A useful outcome for the store owner is knowing which people and systems can read the backup and on what basis. A closed catalog page remains just one observation in this verification.

Discussion 0

Share your experience and ask questions. Comments without links appear after editorial review.

No comments yet. Start the discussion.