luty 14

New version of storage

We continue to improve the storage service and have prepared a new version for release.

Key changes:

  • Storages now have two modes: private and public.
  • Added support for Secure Link.
  • The format of direct and public links is changing.
  • Changes in web access.
  • Significantly increased upload speed and optimized content delivery.
  • The size of uploaded files has been increased to 6 GB.

Now more on the main points.

Modes

Each storage can now operate in one of two modes.

Private. In this mode, without authorization, files are accessible only via public links and Secure Link, directories — only via public links. With authorization, all the contents of the storage are available via web access (if you have read permissions).

Public. In this mode, without authorization, files are available via direct links, public links and Secure Link, directories — via web access (optional) and via public links. With authorization, all the contents of the storage are available via web access (if you have read permissions).

Secure Link

Secure Link technology allows you to use secure links to files. Such links contain a secret key and can be restricted by IP address, by lifetime or with no restrictions. Using Secure Link, you can organize flexible secure access to files in your storage.

In the storage settings, the ability has been added to generate a secret key and test links with different access options, as well as copy ready-made PHP code examples to embed it on your site and generate links in real time.

Link format

The format of direct links to files in public storage changes from /_/path/to/file to /public/path/to/file.

The format of public links to files and directories (generated via the web access interface) is changed from /_share/hash/ to /share/hash/path/to/dir/or/file. Previously created links in the old format stop working, if necessary, they must be regenerated.

Web access

Instead of the "Public access" user, the public storage mode is now used.

Links to files are now protected by Secure Link and tied to the session and IP address of the web access user. No one will be able to use them except this web access user.

For public repositories, you can configure the visibility of the contents of directories.

Upload speed

The speed of uploading files to storage is now much faster than in the old version. Content delivery optimization now makes the storage suitable for storing images of a large online store with a large number of visitors.

---

There is currently a transitional period in place. All ordered storages will be of the new version. All existing storages of the old version will work until 03/01/2023, after which they will be automatically transferred to the new version. You can upgrade to the new version early by using the "Upgrade" button on the storage page.