Call secure AJAX from non-secure page

I have an html page that will be accessed via On this page, I have a login box that uses ajax to authenticate to the server. I would like to send the request over a secure connection with ajax without requiring that the calling page is secure. Is this possible?
Who is Participating?
HonorGodConnect With a Mentor Software EngineerCommented:
Basically, no.

You don't get to specify the protocol, so the protocol that was used to display your page is the kind (either HTTP, or HTTPS) that is used to connect to your application on the server.

rbichonAuthor Commented:
I guess it makes sense on a security level. Thanks.
HonorGodSoftware EngineerCommented:
You are welcome.  Thanks for the grade & points.

Good luck & have a great day.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.