Home › Docs › CDPDrive – Overview

Docs

CDPDrive – Overview

CDPDrive is the web interface of CDPShare: you organise files in projects, preview them in the browser and hand them out through share links –
without any client software.
In this article <DRIVE_HOST>, <STORAGE_HOST> and <CDN_HOST> stand for the addresses of your own installation, for example drive.example.com, storage.example.com and cdn.example.com.

What CDPDrive is

CDPDrive is the Drive module of one self-written application that also contains CDPStorage (S3 API) and CDPCDN (delivery and image sizes).
The application runs on your own server, uses MariaDB as its database and answers on three host names: the Drive host for the web interface and share links, the Storage host for the S3 API and the CDN host for delivery.
Each module can be switched on or off by an administrator;
switching off never deletes data.

The current version of the application is 0.7.0. The licence is a one-time purchase per installation;
there is no subscription.

Place within CDPShare

CDPShare is the umbrella label for the three products CDPStorage, CDPDrive and CDPCDN.
A file is uploaded once and is then available three ways: as a share link through CDPDrive, as an S3 object through CDPStorage and –
if delivery is switched on for the project –
as a CDN address with ready-made image sizes through CDPCDN.
In CDPDrive a project is the same thing as a bucket in CDPStorage and a zone in CDPCDN.

Main functions

  • Sign-in with password and one-time codes (TOTP), own user administration with the account roles owner, admin and member.
  • Projects with members and the project roles viewer, editor and admin.
  • File browser: folders, upload by drag & drop or Button (large files in 5 MB parts), download, rename, tags, search by name or tag, list or tile view.
  • Preview modal for images, SVG, PDF, video, audio and text files, thumbnails in list and tile view.
  • Trash with restore and final removal.
  • Share links with password, validity, download on/off, one-time use, maximum downloads, notification, access log, block and sending by e-mail.
  • Media picker and a JSON listing for the CDPCMS module.
  • Administration: users, access keys (S3), storage nodes, delivery zones, settings, audit log, background jobs, licence and updates.

Roles at a glance

RoleLevelWhat it may do
owner / adminAccountAll administration pages; acts as project admin in every project of the account.
memberAccountSees only the projects in which he or she is a member.
viewerProjectBrowse, preview and download files.
editorProjectAdditionally upload, create folders, rename, tag and create share links.
adminProjectAdditionally delete, open the trash, restore and remove for good.

Limits and defaults

ItemDefaultChangeable
Maximum file size5120 MBSettings → Storage
Part size of browser uploads5 MBno
Days in the trash30Settings → Storage
Copies per file2Settings and per project (1–9)
Project quotanoneProject settings (MB)
Share link validity14 daysper link, 0 = no expiry, up to 3650
Wrong share passwords5, then 15 minutes waitno
Failed sign-ins before lockout5 within 15 minutesSettings → Security
Maximum sign-in duration720 hours (30 days)Settings → Security
Text previewfirst 2 MBno
Recipients per share mail1–20, 10 mails per 10 minutesno

How CDPDrive relates to CDPStorage and CDPCDN

All three products share the same projects, files and users.
Files you upload in CDPDrive can be read with any S3 program through CDPStorage, and files written through the S3 API appear in the CDPDrive file browser.
If delivery is switched on for a project, every image upload automatically gets the sizes 480, 960 and 1440 pixels as WebP on the CDN host.
The dialog "Use this file" in the file browser shows the share link, the S3 address and the CDN address of a file side by side.