Start 2025 on time and up to date. Seamlessly integrate your calendars into Dropbox with these simple steps.

Forum Discussion

berwickredan's avatar
berwickredan
New member | Level 2
7 years ago

Restrict Accessing / Selecting Specific File Types

I'm about to integrate the API into a new project and I'd love to be able to restrict the user from selecting file types that we don't support.  I've been looking through the docs but am not seeing i...
  • Greg-DB's avatar
    7 years ago

    You didn't mention what platform you're using, but if you can use just the Dropbox web Chooser, you can filter files by type using the 'extensions' option.

    Otherwise, if you are using the Dropbox API itself, I'm afraid this isn't offered. The Dropbox API doesn't have a way to restrict the app's access to specific types, but I'll pass this along as a feature request. That being the case, you'd have to implement the filtering client-side.