正在加密AJAX进行身份验证使用jQuery调用可能吗? [英] Is encrypting AJAX calls for authentication possible with jQuery?

查看:172
本文介绍了正在加密AJAX进行身份验证使用jQuery调用可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是相当新的AJAX方法(我也是最近才发现 jQuery的很短的时间前)。我想知道是否有反正来验证一个PHP设置一个用户;牢固。

I'm fairly new to the AJAX methodologies (I only recently discovered jQuery a short time ago). I am interested to know if there is anyway to authenticate a user on a PHP setup; securely.

jQuery的是否有什么特殊的选项,允许使用HTTPS(或任何其他方式来加密我ajax调用)?

Does jQuery have any special options to allow use of HTTPS (or any other way to encrypt my ajax call)?

是的,我很可能只是张贴数据传回服务器,但废墟的乐趣。 :)

Yes, I could very well just post data back to the server, but that ruins the fun. :)

推荐答案

要使用Ajax通过HTTPS,你必须加载原始页面通过HTTPS。

To use Ajax over HTTPS, you have to load the originating page over HTTPS.

同源策略

所以,从某种意义上说,是的 - 但,不是靠自己

So, in a sense, yes -- but, not on its own.

这篇关于正在加密AJAX进行身份验证使用jQuery调用可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆