I am looking for application development for Mac and iOS devices. The application will rely on information stored in a remote database. It requires both reading (selecting) and writing (inserting, updating, deleting) to the database. The application will be a multi-user application.
Now I am considering two different approaches to accessing the database: - through the web service: the application accesses the web service (REST, JSON), which accesses the database. Authentication will be done through HTTP authentication through SSL (https). - access to a remote database directly via VPN.
The application will be used by a maximum of, say, 100 people and is intended for small groups / organizations / enterprises.
So my question is: what's the best approach to accessing a database? How about security and performance? What is a typical small business implementation?
Any advice would be appreciated.
thanks
source share