In case you work with Kendo UI
, I can suggest checking the following examples:
- you should be able to set the transport read url as a variable like in this Dojo example illustrating how to consume odata service: http://dojo.telerik.com/OXIna/3.
The documentation on Kendo UI DataSource Overview
gives some more details.
Concerning developing hybrid applications, all the main Cordova API features are implemented as plugins. As to vulnerability matters, there is a Secure HTTP plugin
which makes your app no longer vulnerable for such attacks by providing true SSL Pinning.
You can also consider Telerik Backend Services
(a mobile backend-as-a-service offering). It is the module of the Telerik Platform that you can consider in order to quickly configure RESTful services to ensure the server logic of your app for data, user management, notifications, business logic and more. Thus you save the efforts required to write, maintain and deploy complex server logic and database under your infrastructure. You can examine your actual scenario covered by the user management in Backend Services in this article
In this case, you can also refer to the topic on Securing a PhoneGap/Cordova Hybrid Mobile App.