How to set up public access to Dropbox folder

Hi there,

Whoever runs Omeka Classic might be interested to use Omeka’s “dropbox” plugin, which allows to massively upload files to the platform and link them to item records in there.
To do so, one must be able to access one single folder/directory.
The obvious way is to use your administrator or FTP credentials, and either access the folder through your server’s file manager (for instance through cPanel, if that’s what your provider offers), or simply connect to it through an FTP client.
However, in a collaborative environment this may lead to security issues, since it implies providing the access keys to the server as a whole.

The first solution, is to create a dedicated FTP account (see link for a reclaimhosting server, and provide to all contributors to your Omeka install the FTP credentials, so they can connect to that single folder only with distinct credentials (not those used to access your server account).

However, one cannot expect any collaborator to an Omeka project to actually have an FTP client application installed locally, and even less to be able to configure such client.
After many tests, I figured out that the best solution would be to set up an Owncloud client on the server, and connect the local “Dropbox” folder as an “external storage” location in Owncloud. This is done by setting the “external storage’s” authentication method as “local” (not FTP).
One can then either choose to create a single “generic” user, whose credentials can be communicated to all collaborators in the Omeka project, or (more complicated, and untested yet), try to retrieve the database of users and credentials from Omeka, and connect them to the Owncloud client. Hence, each collaborator in Omeka would connect to Owncloud with the same credentials.
Finally, within Owncloud, they’d find a single folder (made for instance “upload your files here for Omeka”), to which they can easily upload the necessary files.
Once upload is completed, one finds the uploaded files in Omeka, ready to be associated to a record item.

nota: Within Owncloud, creating an FTP “external storage” location turned out to be more difficult than simply a “local” one.
nota: there might be other ways around, such as having the Dropbox plugin pointing to a folder on an S3 instance…
nota: for Owncloud > 10, the possibility to mount a local folder is only configurable via the ownCloud admin settings. See how here.

Hoping this might be of any help.

This topic was automatically closed after 250 days. New replies are no longer allowed.