保护AJAX和放大器; SSL [英] Securing AJAX & SSL

查看:116
本文介绍了保护AJAX和放大器; SSL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在努力,以确定是否能实现AJAX和放大器; SSL,所以这可能是一个愚蠢的问题,但希望有人能确认/反驳是我目前的了解有限...

I've been trying to determine whether I can implement AJAX & SSL, so this may be a dumb question, but hoping that someone can confirm / refute my current limited understanding of it...

如果我有一个页面: https://mysite.com/page1 ,其中包括一个JavaScript的src文件,该文件通过通过AJAX数据 https://mysite.com/process.php 并吐出后出,它赢得'T是一个问题,对不对,一切都将保持在SSL?这只是一个问题,如果我开始混协议?就像如果我有一个非SSL页面进行AJAX调用到SSL页面,反之亦然?

If I have a page: https://mysite.com/page1 that includes a javascript src file which passes data via ajax to https://mysite.com/process.php and spits back output, it won't be a problem, right, and everything will remain under SSL? It's only a problem if I start mixing protocols? Like if I have a non-SSL page make AJAX calls to an SSL page, or vice versa?

我一直在寻找AJAX和放大器; SSL,但大多数的结果迄今已约变通办法跨域/交叉协议的问题,所以我只是希望能在这里得到一些澄清...

I've been searching for AJAX & SSL, but most of the results thus far have been about workarounds for cross domain / cross protocol issues, so I'm just hoping to gain some clarification here...

推荐答案

一切都会好起来。你不会有任何问题,一切都在同一个站点。

Everything will be fine. You will have no problems with everything in the same site.

这篇关于保护AJAX和放大器; SSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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