Heyho,
I’m trying to develop a cross-platform app, that should manage different SQL data. My question is now:
What are the best practices for developing e.g. an iPhone app, in which an user logs in and only those data will be shown, that belongs to him? Especially security aspects are interesting for me.
Thanks in advance
Phil
What you are looking for is the seperation of the iOS app and a web service running on a your server. Instead of letting the app communicate with the SQL database directly it only communicates with your web service. You web service now decides what will visible to the client.
For the communication between the server and the client I would base on HTTP (see REST Tutorial) like nearly all services too (including Facebook, Twitter, …).