best way to authenticate and consume web service using phonegap (html5/javascript)
- by Raiss
I am going to develop a phonegap application which is pretty simple.
I need to implement an authentication and some simple data transfer back and forth to the phone and server. I prefer to use ASP.NET as a web service and our database is MS SQL but I am not sure what approach should I take to create a secure communication between Phonegap App and webservice.
The problem with a simple AJAX request is limitation in cross-domain and I’m not sure if JSONP is a good option.
I was wondering if someone can tell me what technology I should use in order to make a semi secure connection which works with PhoneGap (html5, javascript ) and .Net webservice.
I understand that it’s a general question but I need to know what technology is the best in such a case.
thanks