Call secure AJAX from non-secure page

I have an html page that will be accessed via http://www.site.com/somepage.html. 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?
LVL 1
rbichonAsked:
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.

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

Good luck & have a great day.
0
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.