secure xmlhttprequest from nonsecure page
Posted
by amwinter
on Stack Overflow
See other posts from Stack Overflow
or by amwinter
Published on 2010-05-28T02:03:37Z
Indexed on
2010/05/28
2:11 UTC
Read the original article
Hit count: 284
JavaScript
|html
I want to make an XMLHttpRequest to a secure uri (https://site.com/ajaxservice/) from javascript running inside a nonsecure page (http://site.com/page.htm). I've tried all kinds of nutty stuff like iframes and dynamic script elements, so far no go. I know I am violating 'same origin policy' but there must be some way to make this work.
I will take any kind of wacky solution short of having the SSL protocol written in javascript.
© Stack Overflow or respective owner