guitarflow
guitarflow

Reputation: 2970

iOS working with a shared file on a server

this might be a pretty simple question. I'm not into this, so please excuse my lack of knowledge. I would just like to ask for your opinions on what might be the best and easiest solution to achieve my goal here.

I'd like to develop a simple shopping list application (for the sole purpose of learning) where two (or more) users are supposed to work on a shared file on a web server (e.g. an XML file).

I considered using FTP but I have concerns about the security. What do you think?

Upvotes: 0

Views: 65

Answers (1)

Johny Cage
Johny Cage

Reputation: 31

What do you mean by "shared file on a web server"? A file that is supposed to be modified by different users simultaneously or just a file that every user downloads? If its the latter, FTP is overkill and it would bring problems in the long run with bigger audience. The fastest (and secure) way to do this is to encrypt the file and put it on fast web service (like S3) and decrypt it on the phone. If you want to be absolutely sure use public/private key crypto - this way you encrypt the file and ensure that this file can only be decrypted, if it comes from you (e.g. encrypted with your private key).

Upvotes: 1

Related Questions