Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

Access types

Janko Marohnić edited this page Mar 1, 2013 · 1 revision

"Full Dropbox" access

Files will be stored in the Public folder. Download URLs are predictable, valid forever, and don't require an API call to retrieve, but this may not be a good thing if you don't want your files to be easily accessed. When using one account to store data for multiple sites (e.g. staging and production instances), it's up to you to make sure they don't step on each other's toes.

Note that accounts created after October 4, 2012 don't have the Public folder enabled by default: Go here to enable it. If you get a message that the folder is deleted, just create a folder in the root named "Public", and it should gain the special icon.

"App folder" access

Files will be stored in a subfolder under Apps (configurable in the app settings). Download URLs are generated on demand by calling the Dropbox API, and are only valid for 4 hours. This means your files are slightly "less public", and you can isolate data from multiple sites by creating multiple apps.

In app folder mode, every call to #url on an attachment will result in an HTTP request to Dropbox. Whether or not this is acceptable will depend on what you're storing and how you're exposing it to users.

Clone this wiki locally