best way to authenticate and consume web service using phonegap (html5/javascript)

Posted by Raiss on Stack Overflow See other posts from Stack Overflow or by Raiss
Published on 2011-11-28T09:46:58Z Indexed on 2011/11/28 9:51 UTC
Read the original article Hit count: 424

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

© Stack Overflow or respective owner

Related posts about AJAX

Related posts about web-services