-2

I am trying to create an IOS application. Part of it will allow upload of data to a Dropbox account that is hardcoded. I don't know how to do this part of my app without having a webpage show up that asks for authorization. Are there other ways to authorize an account without asking the user?

Eric Aya
  • 69,473
  • 35
  • 181
  • 253
mark
  • 153
  • 1
  • 10
  • Possible duplicate of [Auto Login Dropbox account on Core Api without Login Prompt](http://stackoverflow.com/questions/27834922/auto-login-dropbox-account-on-core-api-without-login-prompt) – Greg Apr 19 '16 at 16:58

1 Answers1

2

Don't do this. You're asking for a disaster.

  • Violates the Dropbox Terms of Service.
  • What happens when Dropbox suspends your account, your app breaks.
  • An API key you hide in the app could be compromised and exploited.

Look into another service intended for what you actually want to accomplish, Amazon's S3 is likely a good choice.

Dave Wood
  • 13,143
  • 2
  • 59
  • 67
  • thank you so much! dropbox was the first thing that popped to mind. what is your opinion on using parse? – mark Apr 19 '16 at 14:46
  • 1
    Parse is dead. Depending on your use case, S3 is the most likely best option, could also use a Virtual Private Server with EC2, Digital Ocean, Linode, or any other similar company. You could possibly even use CloudKit. Would need to know more about your plans to know which is the best option. – Dave Wood Apr 19 '16 at 14:51
  • Aside from +1 good answer, off topic: https://swiftforthereallyimpatient.com/ is giving me a certificate error (and doesn't seem to be pointing to the book). – Pekka Apr 19 '16 at 14:54
  • @Pekka웃 Oops, sorry, don't use https for that site. – Dave Wood Apr 19 '16 at 15:04