开发者

SSL query when using JQuery and PhoneGap

I'm developing an app开发者_如何学JAVA that uses JQuery Mobile and PhoneGap. My program makes ajax calls using jquery ($.ajax(.....)) to https addresses and also uses the ChildBrowser plugin to display remote pages from the same address.

During development I'm connecting to a development server with a self-signed SSL cert. While my call to display a page in the ChildBrowser responsds with the typical "This certificate is not from a trusted authority" and "Hostname verification" warnings, the ajax calls from the WebView work without any problems. While this makes development easier I'm concerned that may be a potential security hole.

Has anyone come across this? To date I've only tested on the Android emulator, but I'm not expecting any different behaviour.

Thanks, Eoin


the "android:debuggable" attribute was set to true in my Manifest file. Setting this to false gives the expected warnings.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜