开发者

Securing AJAX & SSL

开发者 https://www.devze.com 2023-03-27 16:52 出处:网络
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...

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...

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开发者_如何学C I have a non-SSL page make AJAX calls to an SSL page, or vice versa?

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.

0

精彩评论

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